{
  "mcp_docs_version": "1.2.61",
  "tools": [
    {
      "name": "search",
      "title": "Search listings",
      "summary": "Find listings from a plain-language request.",
      "when_to_choose": "Choose this for a plain-language search when canvassed should extract common filters from one sentence.",
      "needs": "Include a city, state, county, or ZIP code in the query.",
      "output": "Matching results with `hash_id`, title, URL, text, applied filters, and relevant listing fields. Compact results omit false property-type flags and duplicate markdown; semantic results include one cleaned passage up to 400 characters.",
      "mcp_description": "Search canvassed listings from a natural-language query. Results include `hash_id`, page URLs, listing text, applied filters, and the listing columns used by those filters. `return_fields` requests additional supported fields and `exclude_fields` omits optional fields. Duplicate pages from the same company at the same normalized street address collapse to the newest-updated page, with other URLs in `also_listed_at`. If a filter is rejected, use the suggested correction; use `list_filter_values` to check allowed filter values.",
      "inputs": [
        {
          "name": "query",
          "type": "string",
          "required": true,
          "description": "Natural-language listing request. Include a city, county, state, or ZIP code."
        },
        {
          "name": "limit",
          "type": "integer",
          "required": false,
          "default": 10,
          "description": "Maximum number of listings to return (default 10)."
        },
        {
          "name": "return_fields",
          "type": "array",
          "required": false,
          "description": "Additional supported listing fields to include."
        },
        {
          "name": "exclude_fields",
          "type": "array",
          "required": false,
          "description": "Optional listing fields to omit from results."
        }
      ],
      "example": "Find retail listings for lease in Austin.",
      "url": "https://www.canvassed.ai/developers/mcp/reference#search"
    },
    {
      "name": "fetch",
      "title": "Fetch a listing",
      "summary": "Get the full details for a listing from search.",
      "output": "The full safe listing record, including `hash_id`.",
      "mcp_description": "Retrieve a canvassed listing by its ID, including its public page details and available listing metadata. The returned listing record identifies the listing with `hash_id`.",
      "inputs": [
        {
          "name": "id",
          "type": "string",
          "required": true,
          "description": "Canvassed listing ID (hash_id) to retrieve."
        }
      ],
      "example": "Show details for listing ABC123.",
      "url": "https://www.canvassed.ai/developers/mcp/reference#fetch"
    },
    {
      "name": "get_listing_contacts",
      "title": "Get listing contacts",
      "summary": "Find broker and contact details for one listing.",
      "when_to_choose": "Choose this when broker contact details are needed for a listing; get_listing_by_id returns property details without those contacts.",
      "output": "Available contact names, emails, US phone numbers, license details, and titles, with the listing identified by `hash_id`. Contact details are grouped by person only when listing data supports a unique match. Email addresses are normalized to lowercase; unmatched emails and phone numbers remain unassigned. Compatible MCP clients may show progress while the server checks listing data.",
      "mcp_description": "Retrieve available broker or contact names, email addresses, valid US phone numbers, license details, and titles for a canvassed listing ID. Contact details are grouped by person only when listing data supports a unique match. Email addresses are normalized to lowercase; unmatched emails and phone numbers remain unassigned. The response identifies the listing as `hash_id`.",
      "inputs": [
        {
          "name": "listing_id",
          "type": "string",
          "required": true,
          "description": "Canvassed listing ID (hash_id) to inspect."
        },
        {
          "name": "max_chunks",
          "type": "integer",
          "required": false,
          "default": 25,
          "description": "Maximum listing-page passages to inspect for contact details (default 25)."
        }
      ],
      "example": "Who is the broker for listing ABC123?",
      "url": "https://www.canvassed.ai/developers/mcp/reference#get-listing-contacts"
    },
    {
      "name": "search_listings",
      "title": "Search listings with filters",
      "summary": "Find listings that match exact criteria in a place.",
      "when_to_choose": "Choose this when the request needs exact structured filters or semantic ranking over listing-page text.",
      "needs": "A geography filter is required. Use `geog_city`, `geog_county`, `geog_state`, or `geog_zip` in `structured_filters`, or include a city, state, county, or ZIP code in `semantic_query`.",
      "output": "Matching listing records with `hash_id`, applied filters, pagination information, and relevant listing fields, including requested parcel zoning when available. Compact results omit false property-type flags and duplicate markdown; compact semantic results include one cleaned passage up to 300 characters. Standard semantic results include up to three passages of up to 400 characters each.",
      "mcp_description": "Search listings using structured filters and optional semantic ranking over listing-page text. A geography filter is required in structured_filters, or a city, state, county, or ZIP code must appear in semantic_query. Always resolve vague place names first. If needs_clarification is true, ask the user to choose, then search again with the chosen ZIPs, city or radius. ZIP filters use geog_zip; exact point radii use within_radius with lat, lon, and miles, or an address of a geocoded listing. Use `zoning_code` with a Los Angeles County geography filter to match stored City of LA or Long Beach municipal, selected-jurisdiction SCAG regional, or County Z-NET zone codes linked to listing parcels. Request `return_fields=[\"zoning_code\"]` to include parcel-derived zoning and its source in each result. Broker-stated zoning appears separately as listing text. Filter-only results sort by `date_created` descending, then `date_updated` descending and listing ID; semantic results keep relevance ranking. Compact responses are the default, with one semantic passage up to 300 characters. Use response_mode `standard` for up to three semantic passages of up to 400 characters each, or `full` for complete evidence. Pass `keywords` for exact zoning, use, or feature phrases; known terms and quoted phrases are detected automatically. `keyword_mode=\"require\"` limits results to text matches, and `keyword_hits` explains matches. Oversized responses include `truncated` and `next_offset` for paging. `return_fields` requests supported fields and `exclude_fields` omits fields. Duplicate pages from the same company at the same normalized street address collapse to the newest-updated page, with other URLs in `also_listed_at`. If a filter is rejected, use the suggested correction; use `list_filter_values` to check allowed filter values.",
      "inputs": [
        {
          "name": "semantic_query",
          "type": "string",
          "required": false,
          "description": "Optional text for ranking listing-page evidence; include geography here if structured_filters omits it."
        },
        {
          "name": "keywords",
          "type": "array",
          "items": {
            "type": "string"
          },
          "required": false,
          "description": "Exact phrases to highlight or require in listing-page text."
        },
        {
          "name": "keyword_mode",
          "type": "string",
          "required": false,
          "default": "boost",
          "enum": [
            "boost",
            "require"
          ],
          "description": "Use boost to rank phrase matches higher, or require to return only phrase matches."
        },
        {
          "name": "structured_filters",
          "type": "object",
          "required": false,
          "description": "Exact field-to-value filters, such as {\"geog_city\": \"Phoenix\", \"transaction_lease\": true}."
        },
        {
          "name": "return_fields",
          "type": "array",
          "required": false,
          "description": "Additional supported listing fields to include."
        },
        {
          "name": "exclude_fields",
          "type": "array",
          "required": false,
          "description": "Optional listing fields to omit from results."
        },
        {
          "name": "response_mode",
          "type": "string",
          "required": false,
          "default": "compact",
          "description": "Response detail: compact (default), standard (up to 3 snippets), or full evidence."
        },
        {
          "name": "structured_top_k",
          "type": "integer",
          "required": false,
          "default": 10000,
          "description": "Advanced ranking setting; leave as default."
        },
        {
          "name": "chunk_top_k",
          "type": "integer",
          "required": false,
          "default": 200,
          "description": "Advanced ranking setting; leave as default."
        },
        {
          "name": "listing_top_n",
          "type": "integer",
          "required": false,
          "default": 10,
          "description": "Number of listings to return per page (default 10)."
        },
        {
          "name": "listing_offset",
          "type": "integer",
          "required": false,
          "default": 0,
          "description": "Number of unique results to skip for pagination (default 0)."
        },
        {
          "name": "max_chunks_per_listing",
          "type": "integer",
          "required": false,
          "default": 3,
          "description": "Advanced ranking setting; leave as default."
        },
        {
          "name": "min_supporting_chunks",
          "type": "integer",
          "required": false,
          "default": 2,
          "description": "Advanced ranking setting; leave as default."
        }
      ],
      "example": "Find retail listings in Los Angeles County with zoning code C2.",
      "url": "https://www.canvassed.ai/developers/mcp/reference#search-listings"
    },
    {
      "name": "resolve_geography",
      "title": "Resolve a location",
      "summary": "Find the right search area for an approximate place.",
      "output": "Matched geography and recommended search filters.",
      "mcp_description": "Resolve a place name to approved area aliases, ZIPs, cities, counties, states, or radius filters without creating or changing aliases. If needs_clarification is true, ask the user to choose, then search again with the chosen ZIPs, city or radius. Ambiguous areas return concrete options; preserve partial_zips as approximate coverage, separate from full ZIP coverage.",
      "inputs": [
        {
          "name": "query",
          "type": "string",
          "required": true,
          "description": "Place name, city, ZIP code, or corridor to resolve."
        },
        {
          "name": "radius_miles",
          "type": "number",
          "required": false,
          "default": 15,
          "description": "Radius around a resolved point, in miles (default 15)."
        },
        {
          "name": "max_zip_list",
          "type": "integer",
          "required": false,
          "default": 100,
          "description": "Maximum ZIP codes to return (default 100)."
        },
        {
          "name": "max_city_list",
          "type": "integer",
          "required": false,
          "default": 15,
          "description": "Maximum nearby cities to return (default 15)."
        },
        {
          "name": "expand_nearby",
          "type": "boolean",
          "required": false,
          "default": true,
          "description": "Include nearby areas when the place resolves (default true)."
        }
      ],
      "example": "Search around downtown Nashville within 20 miles.",
      "url": "https://www.canvassed.ai/developers/mcp/reference#resolve-geography"
    },
    {
      "name": "resolve_company",
      "title": "Resolve a company",
      "summary": "Find the company name used for a brokerage.",
      "when_to_choose": "Use this to identify the exact company name stored in canvassed before filtering or counting listings by company.",
      "output": "Candidate company names from current listings.",
      "mcp_description": "Match a company or brokerage phrase to canonical company names found in canvassed listings. Results include ranked candidates.",
      "inputs": [
        {
          "name": "query",
          "type": "string",
          "required": true,
          "description": "Brokerage or company name to resolve."
        },
        {
          "name": "limit",
          "type": "integer",
          "required": false,
          "default": 5,
          "description": "Maximum company matches to return (default 5)."
        }
      ],
      "example": "Find the canonical name for CBRE.",
      "url": "https://www.canvassed.ai/developers/mcp/reference#resolve-company"
    },
    {
      "name": "count_listings",
      "title": "Count listings",
      "summary": "Count listings that match your criteria.",
      "when_to_choose": "Choose this for totals or grouped counts instead of a list of matching listings.",
      "needs": "A geography filter is required in `structured_filters`.",
      "output": "A total count, optional grouped counts, and sample listing records identified by `hash_id`.",
      "mcp_description": "Count listings that match structured filters, optionally grouped by a field, with compact sample records by default. A geography filter is required in structured_filters. Always resolve vague place names first. If needs_clarification is true, ask the user to choose, then search again with the chosen ZIPs, city or radius before counting. Use response_mode `standard` or `full` for more detail. Oversized samples include `truncated` and `next_offset` for paging.",
      "inputs": [
        {
          "name": "structured_filters",
          "type": "object",
          "required": false,
          "description": "Exact field-to-value filters for the listings to count."
        },
        {
          "name": "group_by",
          "type": "string",
          "required": false,
          "description": "Optional supported field to group counts by."
        },
        {
          "name": "examples_limit",
          "type": "integer",
          "required": false,
          "default": 3,
          "description": "Maximum sample listings to return (default 3)."
        },
        {
          "name": "examples_offset",
          "type": "integer",
          "required": false,
          "default": 0,
          "description": "Number of sample listings to skip (default 0)."
        },
        {
          "name": "return_fields",
          "type": "array",
          "required": false,
          "description": "Additional supported fields for sample listings."
        },
        {
          "name": "exclude_fields",
          "type": "array",
          "required": false,
          "description": "Optional fields to omit from sample listings."
        },
        {
          "name": "response_mode",
          "type": "string",
          "required": false,
          "default": "compact",
          "description": "Sample detail: compact (default), standard, or full."
        }
      ],
      "example": "How many retail listings for lease are in Austin?",
      "url": "https://www.canvassed.ai/developers/mcp/reference#count-listings"
    },
    {
      "name": "search_listing_changes",
      "title": "Search listing changes",
      "summary": "Review listing additions and removals over time.",
      "output": "One page of change-log events with `hash_id`, date-only valid_from and valid_to, no listing-level date_created, cleaned property_type labels, available pt_* property-type flags, event dates, and a next cursor. Use response_mode=full for all other available public event fields.",
      "mcp_description": "Search listing-level added and removed events in a date window, with optional active-at-start context, listing filters, and cursor pagination. Event rows include the available 15 pt_* property-type flags in compact, standard, and full modes; response_mode `full` adds the remaining public event fields. Oversized pages are shortened at item boundaries and include a continuation cursor.",
      "inputs": [
        {
          "name": "start_date",
          "type": "string",
          "required": true,
          "description": "Start of the date window in YYYY-MM-DD format."
        },
        {
          "name": "end_date",
          "type": "string",
          "required": true,
          "description": "Exclusive end of the date window in YYYY-MM-DD format."
        },
        {
          "name": "filters",
          "type": "object",
          "required": false,
          "description": "Optional supported listing filters, such as county_fips."
        },
        {
          "name": "event_type",
          "type": "string",
          "required": false,
          "default": "all",
          "description": "Change types to include: all, added, or removed (default all)."
        },
        {
          "name": "include_active",
          "type": "boolean",
          "required": false,
          "default": false,
          "description": "Include listings still active at the end boundary (default false)."
        },
        {
          "name": "per_page",
          "type": "integer",
          "required": false,
          "default": 25,
          "description": "Number of change rows per page (default 25)."
        },
        {
          "name": "cursor",
          "type": "string",
          "required": false,
          "description": "Opaque cursor returned by the previous page."
        },
        {
          "name": "response_mode",
          "type": "string",
          "required": false,
          "default": "compact",
          "description": "Response detail: compact (default), standard, or full."
        }
      ],
      "example": "Show additions and removals in Travis County, Texas, during January 2026.",
      "url": "https://www.canvassed.ai/developers/mcp/reference#search-listing-changes"
    },
    {
      "name": "summarize_listing_changes",
      "title": "Summarize listing changes",
      "summary": "Summarize listing changes for a market and date range.",
      "output": "Overall start-active, added, removed, end-active, net/gross change, rates, reconciliation, and optional grouped rows. Property-type groups are derived from available pt_* flags and can be non-additive.",
      "mcp_description": "Summarize listings active at the start and end of a date window and listing lifespans added or removed during it, optionally grouped by one or two dimensions. Set group_by=property_type for change counts by the available pt_* classifications; these groups can overlap.",
      "inputs": [
        {
          "name": "start_date",
          "type": "string",
          "required": true,
          "description": "Start of the date window in YYYY-MM-DD format."
        },
        {
          "name": "end_date",
          "type": "string",
          "required": true,
          "description": "Exclusive end of the date window in YYYY-MM-DD format."
        },
        {
          "name": "filters",
          "type": "object",
          "required": false,
          "description": "Optional supported listing filters, such as county_fips."
        },
        {
          "name": "group_by",
          "type": "string",
          "required": false,
          "description": "Optional field to group change totals by."
        }
      ],
      "example": "Summarize listings added and removed in Manhattan during May 2026, grouped by property type.",
      "url": "https://www.canvassed.ai/developers/mcp/reference#summarize-listing-changes"
    },
    {
      "name": "generate_change_over_time_report",
      "title": "Generate Change Over Time report",
      "summary": "Create a readable report about market changes.",
      "output": "Formatted report text, JSON summary and event records with date-only validity fields, no listing-level date_created, cleaned property_type labels, and available pt_* property-type flags, plus source freshness and completeness/cursor metadata. Property-type group counts may overlap.",
      "mcp_description": "Combine a Change Over Time summary with a cursor-paginated listing change log and format the result as a readable market change report. Set summary_group_by=property_type for summary counts by the available pt_* classifications; the formatted and spreadsheet summaries label the selected grouping.",
      "inputs": [
        {
          "name": "start_date",
          "type": "string",
          "required": true,
          "description": "Start of the date window in YYYY-MM-DD format."
        },
        {
          "name": "end_date",
          "type": "string",
          "required": true,
          "description": "Exclusive end of the date window in YYYY-MM-DD format."
        },
        {
          "name": "filters",
          "type": "object",
          "required": false,
          "description": "Optional supported listing filters, such as county_fips."
        },
        {
          "name": "max_records",
          "type": "integer",
          "required": false,
          "default": 250,
          "description": "Maximum change rows to include in the report (default 250)."
        },
        {
          "name": "summary_group_by",
          "type": "string",
          "required": false,
          "default": "company",
          "description": "Field used to group the report summary (default company)."
        }
      ],
      "example": "Create a May 2026 market change report for Manhattan, with a summary by property type.",
      "url": "https://www.canvassed.ai/developers/mcp/reference#generate-change-over-time-report"
    },
    {
      "name": "export_change_over_time_spreadsheet",
      "title": "Export Change Over Time spreadsheet",
      "summary": "Create a spreadsheet of market changes.",
      "output": "An XLSX workbook with summary metrics by the selected grouping and a detailed change log with date-only validity fields, no listing-level date_created, cleaned property_type labels, and available pt_* property-type flags; property-type groups may overlap, and output includes completeness metadata when the record cap is reached.",
      "mcp_description": "Export an Excel workbook with Report Summary and Change Log tabs for a selected market and date window. Set summary_group_by=property_type to include added/removed summary counts by the available pt_* flags.",
      "inputs": [
        {
          "name": "start_date",
          "type": "string",
          "required": true,
          "description": "Start of the date window in YYYY-MM-DD format."
        },
        {
          "name": "end_date",
          "type": "string",
          "required": true,
          "description": "Exclusive end of the date window in YYYY-MM-DD format."
        },
        {
          "name": "filters",
          "type": "object",
          "required": false,
          "description": "Optional supported listing filters, such as county_fips."
        },
        {
          "name": "max_records",
          "type": "integer",
          "required": false,
          "default": 250,
          "description": "Maximum change rows to include in the spreadsheet (default 250)."
        },
        {
          "name": "summary_group_by",
          "type": "string",
          "required": false,
          "default": "company",
          "description": "Field used to group the report summary (default company)."
        }
      ],
      "example": "Export the May 2026 Manhattan change-over-time report with a property-type summary.",
      "url": "https://www.canvassed.ai/developers/mcp/reference#export-change-over-time-spreadsheet"
    },
    {
      "name": "list_filter_values",
      "title": "List filter values",
      "summary": "See which values you can use for a listing filter.",
      "output": "Matching filter values and related metadata.",
      "mcp_description": "List values available for a supported listing filter field, optionally narrowed by a prefix.",
      "inputs": [
        {
          "name": "field",
          "type": "string",
          "required": true,
          "description": "Filter field whose valid values to list."
        },
        {
          "name": "prefix",
          "type": "string",
          "required": false,
          "description": "Optional prefix to narrow the value list."
        },
        {
          "name": "limit",
          "type": "integer",
          "required": false,
          "default": 25,
          "description": "Maximum values to return (default 25)."
        }
      ],
      "example": "Which property types are available?",
      "url": "https://www.canvassed.ai/developers/mcp/reference#list-filter-values"
    },
    {
      "name": "get_listing_by_id",
      "title": "Get a listing by ID",
      "summary": "Look up one listing using its listing ID.",
      "output": "The listing record with `hash_id` and whether it was found.",
      "mcp_description": "Retrieve one canonical canvassed listing record by listing ID, including available attributes and dates.",
      "inputs": [
        {
          "name": "listing_id",
          "type": "string",
          "required": true,
          "description": "Canvassed listing ID (hash_id) to retrieve."
        }
      ],
      "example": "Look up canvassed listing ABC123.",
      "url": "https://www.canvassed.ai/developers/mcp/reference#get-listing-by-id"
    },
    {
      "name": "get_listing_parcels",
      "title": "Get parcels for a listing",
      "summary": "Review parcels and available zoning for a listing.",
      "output": "The listing `hash_id`, Regrid parcel identifiers, County APN/AIN and situs details, County Z-NET zoning, available City of LA or Long Beach zoning, SCAG local and standardized regional zone codes, the preferred top-level zone and its source, source vintages, match statuses, and manual-review flags.",
      "mcp_description": "Return all Regrid parcels matched to a listing and their linked LA County parcel APNs/AINs, County Z-NET zoning, City of LA or Long Beach municipal zoning, and (where available) separate SCAG regional zoning keyed by APN. The top-level zoning_code uses municipal, regional, then County precedence and includes its source. The response reports source vintages, parcel and zoning match status, and manual review flags. County parcel coverage is Los Angeles County; SCAG regional zoning covers selected incorporated jurisdictions.",
      "inputs": [
        {
          "name": "listing_id",
          "type": "string",
          "required": true,
          "description": "Canvassed listing ID (hash_id) whose parcel matches to retrieve."
        }
      ],
      "example": "Show the parcels and zoning for listing ABC123.",
      "url": "https://www.canvassed.ai/developers/mcp/reference#get-listing-parcels"
    },
    {
      "name": "help",
      "title": "canvassed help",
      "summary": "Get guidance on using canvassed tools.",
      "output": "Readable Markdown help with the relevant tool, required inputs, expected output, and guide link.",
      "mcp_description": "Explain the available canvassed tools and workflows, including listing-change summaries and listing-level change outputs. It uses the published guide and does not query customer data.",
      "inputs": [
        {
          "name": "question",
          "type": "string",
          "required": false,
          "description": "Optional question to narrow the help response."
        },
        {
          "name": "topic",
          "type": "string",
          "required": false,
          "description": "Optional help topic to return."
        },
        {
          "name": "tool_name",
          "type": "string",
          "required": false,
          "description": "Optional tool name to describe."
        },
        {
          "name": "prompt_name",
          "type": "string",
          "required": false,
          "description": "Optional prompt name to describe."
        }
      ],
      "example": "How do I summarize listing changes?",
      "url": "https://www.canvassed.ai/developers/mcp/reference#help"
    }
  ],
  "prompts": []
}
