Skip to main content
Glama

autotrader_search

Read-only

Search Autotrader vehicle listings by make, model, price, year, or mileage and return summaries with a matching count. Make and model take Autotrader codes from autotrader_makes and autotrader_models (Porsche is POR); unknown codes are rejected. Use autotrader_vehicle for one listing or autotrader_dealer for a seller profile.

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": "autotrader_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipNo5-digit US ZIP code to search around. A malformed or unrecognized ZIP is rejected.
makeNoAutotrader make code from autotrader_makes, not the display name (Porsche is POR, Chevrolet CHEV). Comma-separate several. An unknown code is rejected.
pageNo1-indexed result page, 1 to 13. Defaults to 1. Autotrader returns 24 results per page and serves only the first 312 results of a search.
trimNoAutotrader trim code from autotrader_trims, e.g. CAMRY|LE. With one model the part after the bar (LE) is enough. Case-sensitive. Comma-separate several. Requires make and model.
modelNoAutotrader model code from autotrader_models, e.g. CAMRY. Comma-separate several. Requires make.
queryNoFree-text keyword search (Autotrader's keywordPhrases filter).
radiusNoSearch radius in miles around zip, 1 to 500. Requires zip. Defaults to 50 when omitted.
max_yearNoMaximum model year, four digits.
min_yearNoMinimum model year, four digits.
conditionNoListing condition. Allowed values: new, used, certified (manufacturer certified pre-owned), 3p_cert (third-party certified).
max_priceNoMaximum price in US dollars, at least 10.
min_priceNoMinimum price in US dollars, at least 10.
body_styleNoBody style. Allowed values: convertible, coupe, hatchback, sedan, suv, truck, van, wagon.
max_mileageNoMaximum odometer mileage, at least 1.
seller_typeNoSeller type. Allowed values: dealer, private.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedInput schema / properties / make / description
      Previous value: -"Autotrader make code, e.g. TOYOTA, HONDA, BMW. See any search response's make field for known codes."New value: +"Autotrader make code from autotrader_makes, not the display name (Porsche is POR, Chevrolet CHEV). Comma-separate several. An unknown code is rejected."
    • changedInput schema / properties / max_mileage / description
      Previous value: -"Maximum odometer mileage."New value: +"Maximum odometer mileage, at least 1."
    • changedInput schema / properties / max_price / description
      Previous value: -"Maximum price in US dollars."New value: +"Maximum price in US dollars, at least 10."
    • changedInput schema / properties / max_year / description
      Previous value: -"Maximum model year."New value: +"Maximum model year, four digits."
    • changedInput schema / properties / min_price / description
      Previous value: -"Minimum price in US dollars."New value: +"Minimum price in US dollars, at least 10."
    • changedInput schema / properties / min_year / description
      Previous value: -"Minimum model year."New value: +"Minimum model year, four digits."
    • changedInput schema / properties / model / description
      Previous value: -"Autotrader model code, e.g. CAMRY. Requires make to be set."New value: +"Autotrader model code from autotrader_models, e.g. CAMRY. Comma-separate several. Requires make."
    • changedInput schema / properties / radius / description
      Previous value: -"Search radius in miles around zip. Defaults to Autotrader's own default when omitted."New value: +"Search radius in miles around zip, 1 to 500. Requires zip. Defaults to 50 when omitted."
    • changedInput schema / properties / trim / description
      Previous value: -"Autotrader trim code. Requires make and model to be set."New value: +"Autotrader trim code from autotrader_trims, e.g. CAMRY|LE. With one model the part after the bar (LE) is enough. Case-sensitive. Comma-separate several. Requires make and model."
    • changedInput schema / properties / zip / description
      Previous value: -"5-digit US ZIP code to search around."New value: +"5-digit US ZIP code to search around. A malformed or unrecognized ZIP is rejected."
  2. Changed1 schema field changed
    • changedInput schema / properties / page / description
      Previous value: -"1-indexed result page. Defaults to 1. Autotrader returns 24 results per page."New value: +"1-indexed result page, 1 to 13. Defaults to 1. Autotrader returns 24 results per page and serves only the first 312 results of a search."
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and idempotentHint=false, so safety and world-openness are covered. The description adds genuinely non-annotated behavior: results come back as summaries with a matching count, and unknown make/model codes are rejected rather than silently ignored. It doesn't mention the 312-result / 24-per-page serving cap, but the schema does.

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

Conciseness5/5

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

Three sentences with zero padding: what it does, the code-format constraint that would otherwise cause a failed call, then the sibling routing. The most failure-prone detail (codes, not display names) is placed before the alternatives.

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

Completeness4/5

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

For a broad search tool with an output schema and full annotation coverage, the description covers purpose, input conventions, failure mode and alternatives. The one omission worth noting is that all 15 parameters are optional and the description never says whether a bare call is valid or should always carry at least one filter.

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 every one of the 15 parameters is already documented with codes, ranges, defaults and dependencies. The description's code-source guidance (Autotrader codes, Porsche is POR) largely restates what the make and model descriptions say, so it adds little beyond the schema baseline.

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?

States a specific verb (Search), a specific resource (Autotrader vehicle listings), the filter axes it supports, and the return shape (summaries plus a matching count). It also explicitly distinguishes itself from autotrader_vehicle and autotrader_dealer, so an agent can route without opening any schema.

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

Usage Guidelines4/5

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

Names two alternatives with the condition that selects each: autotrader_vehicle for one listing, autotrader_dealer for a seller profile. It also directs the agent to autotrader_makes and autotrader_models as the source of valid codes. It stops short of saying when not to use it or what a no-filter search does, but the routing guidance is concrete.

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.