Skip to main content
Glama

OpenDealer MCP Server

Find Nearby Dealers

dealers_near
Read-onlyIdempotent

Dealerships near a search area the shopper states: zip and radius, city and state, or county and state. Each row includes name, address, phone, website, slug, distance, inventory count, and hours when the feed has them. The public list has no internal dealer UUIDs. total is the full match count and ignores limit and offset. The page size is at most 100, the dealers route clamp.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dealers_near"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoWhole-token filter on dealer name, slug, or city. Same as GET /v1/dealers q.
zipNo5-digit US ZIP code (e.g., 92688)
cityNoCity name
limitNoMaximum number of dealers to return (1-100). An absent value uses the Runtime API default of 100.
stateNo2-letter US state code (e.g., CA, TX)
countyNoCounty name
offsetNoNumber of results to skip. The window is the next `limit` vehicles starting at this offset (default 0).
radiusNoSearch radius in miles (1-250). An absent value uses the platform default of 150 miles, the same as the shop and the Runtime API.
verticalNoShopper vertical. An absent value covers every public vertical (cars and off-road). Live verticals come from list_verticals.

Output Schema

NameRequiredDescriptionDefault
typeNo
itemsNo
totalNo
dealersNo
provenanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedOutput schema / properties / dealers / items / properties / dealer_group_id
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / dealers / items / properties / dealer_id
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / dealers / items / properties / rooftop_id
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / dealers / items / properties / vertical
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / items / items / properties / dealer_group_id
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / items / items / properties / dealer_id
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / items / items / properties / rooftop_id
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / items / items / properties / vertical
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Changed6 schema fields changed
    • removedInput schema / properties / lat
      Removed value: -{
      -  "description": "Latitude coordinate",
      -  "maximum": 90,
      -  "minimum": -90,
      -  "type": "number"
      -}
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of dealers to return (1-200). Omit to use the Runtime API default of 100."New value: +"Maximum number of dealers to return (1-100). An absent value uses the Runtime API default of 100."
    • changedInput schema / properties / limit / maximum
      Previous value: -200New value: +100
    • removedInput schema / properties / lng
      Removed value: -{
      -  "description": "Longitude coordinate",
      -  "maximum": 180,
      -  "minimum": -180,
      -  "type": "number"
      -}
    • changedInput schema / properties / radius / description
      Previous value: -"Search radius in miles (1-250). Omit to use the platform default of 150 miles, the same as the shop and the Runtime API."New value: +"Search radius in miles (1-250). An absent value uses the platform default of 150 miles, the same as the shop and the Runtime API."
    • changedInput schema / properties / vertical / description
      Previous value: -"Shopper vertical. Omit for every public vertical (cars and off-road). Live verticals come from list_verticals."New value: +"Shopper vertical. An absent value covers every public vertical (cars and off-road). Live verticals come from list_verticals."
  3. Changed9 schema fields changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / state / maxLength
      Added value: +2
    • addedInput schema / properties / state / minLength
      Added value: +2
    • addedInput schema / properties / state / type
      Added value: +"string"
    • addedOutput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / dealers / items / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / items / items / additionalProperties
      Previous value: -trueNew value: +{}
  4. Changed1 schema field changed
    • changedInput schema / properties / vertical / description
      Previous value: -"Shopper vertical. Omit for every public vertical (cars today). Live verticals come from list_verticals."New value: +"Shopper vertical. Omit for every public vertical (cars and off-road). Live verticals come from list_verticals."
  5. Changed1 schema field changed
    • addedInput schema / properties / vertical
      Added value: +{
      +  "description": "Shopper vertical. Omit for every public vertical (cars today). Live verticals come from list_verticals.",
      +  "minLength": 1,
      +  "type": "string"
      +}
  6. Changed1 schema field changed
    • addedInput schema / properties / q
      Added value: +{
      +  "description": "Whole-token filter on dealer name, slug, or city. Same as GET /v1/dealers q.",
      +  "maxLength": 200,
      +  "minLength": 2,
      +  "type": "string"
      +}
  7. Changed24 schema fields changed
    • addedInput schema / properties / offset / maximum
      Added value: +9007199254740991
    • removedInput schema / properties / state / maxLength
      Removed value: -2
    • removedInput schema / properties / state / minLength
      Removed value: -2
    • removedInput schema / properties / state / type
      Removed value: -"string"
    • addedOutput schema / properties / dealers / items / properties / @type
      Added value: +{
      +  "const": "AutoDealer",
      +  "type": "string"
      +}
    • addedOutput schema / properties / dealers / items / properties / claimEligible
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / dealers / items / properties / name
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / dealers / items / properties / provenance
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "asOf": {
      +      "type": "string"
      +    },
      +    "source": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "asOf",
      +    "source"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / dealers / items / properties / slug
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / dealers / items / properties / telephone
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / dealers / items / properties / tier
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / dealers / items / properties / url
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / dealers / items / properties / websiteUrl
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / items / items / properties / @type
      Added value: +{
      +  "const": "AutoDealer",
      +  "type": "string"
      +}
    • addedOutput schema / properties / items / items / properties / claimEligible
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / items / items / properties / name
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / items / items / properties / provenance
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "asOf": {
      +      "type": "string"
      +    },
      +    "source": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "asOf",
      +    "source"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / items / items / properties / slug
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / items / items / properties / telephone
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / items / items / properties / tier
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / items / items / properties / url
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / items / items / properties / websiteUrl
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / provenance
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "asOf": {
      +      "type": "string"
      +    },
      +    "source": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "asOf",
      +    "source"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / type
      Added value: +{
      +  "enum": [
      +    "dealer_collection",
      +    "DealerCollection"
      +  ],
      +  "type": "string"
      +}
  8. Changed5 schema fields changed
    • removedInput schema / properties / limit / default
      Removed value: -50
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of dealers to return (1-200, default: 50)"New value: +"Maximum number of dealers to return (1-200). Omit to use the Runtime API default of 100."
    • changedInput schema / properties / offset / description
      Previous value: -"Number of results to skip for pagination"New value: +"Number of results to skip. The window is the next `limit` vehicles starting at this offset (default 0)."
    • removedInput schema / properties / radius / default
      Removed value: -50
    • changedInput schema / properties / radius / description
      Previous value: -"Search radius in miles (1-250, default: 50)"New value: +"Search radius in miles (1-250). Omit to use the platform default of 150 miles, the same as the shop and the Runtime API."
  9. Changed8 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedOutput schema / properties / dealers / items / $ref
      Removed value: -"#/properties/items/items"
    • addedOutput schema / properties / dealers / items / additionalProperties
      Added value: +true
    • addedOutput schema / properties / dealers / items / properties
      Added value: +{}
    • addedOutput schema / properties / dealers / items / type
      Added value: +"object"
    • changedOutput schema / properties / items / items / additionalProperties
      Previous value: -{}New value: +true
    • addedOutput schema / properties / items / items / properties
      Added value: +{}
  10. First observed

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds real context on top: the exact row fields, the absence of internal dealer UUIDs in the public feed, the fact that total ignores limit and offset, and the 100-row route clamp. Missing are any notes on error behavior for invalid zip/radius combinations or what happens with an ambiguous multi-parameter query.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, each carrying distinct information, with the supported search modes front-loaded. The phrase 'the dealers route clamp' is slightly opaque, and listing row fields is partially redundant given an output schema exists, but the text is free of filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a nine-parameter discovery tool with a full output schema and complete annotation coverage, the description covers search modes, pagination semantics, count semantics, and a key identifier caveat that cannot be inferred from structured fields. Nothing essential to calling it correctly is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents each parameter including defaults for radius (150) and limit (100). The description's contribution is limited to clarifying that limit and offset do not affect total and that page size is clamped at 100 — useful but largely a restatement of the schema maximum. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (dealerships) and the precise search modes it accepts — zip plus radius, city plus state, or county plus state — so an agent knows exactly what this tool does. It also contrasts with single-dealer lookups by noting the public list carries no internal dealer UUIDs, which implicitly separates it from get_dealer and dealer_inventory.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied through the enumerated search modes, which tell an agent what input combinations are valid. However, it never explicitly says when to pick this over dealer_inventory or get_dealer, nor does it state exclusions (e.g., that this is discovery-only and cannot return full inventory detail). Guidance is adequate but leaves the alternative-selection decision to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources