Skip to main content
Glama

carmax_search

Read-only

Search CarMax used-car listing records by make, model, year, price, mileage, sort, and optional ZIP. model works without make; each page has 48 vehicles plus live-count facets and total matches. An unresolved ZIP is ignored. Use carmax_vehicle for one listing, carmax_search_suggestions for typeahead, or carmax_shop_by_brand to browse brands.

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

Input Schema

NameRequiredDescriptionDefault
zipNo5-digit US ZIP code to bias results toward CarMax's nearest store (resolved via the same lookup as GET /carmax/stores). Best-effort: an unresolvable zip is ignored rather than rejected.
makeNoCarMax make, e.g. honda, Toyota, BMW (case-insensitive). See any search response's make field for known values.
pageNo1-indexed result page. Defaults to 1. CarMax returns 48 results per page.
sortNoSort order. One of: bestmatch, distance-asc, price-asc, price-desc, mileage-asc, mileage-desc, year-desc, year-asc, newarrival. Defaults to bestmatch.
modelNoCarMax model, e.g. civic (case-insensitive). Does not require make to also be set.
max_yearNoMaximum model year.
min_yearNoMinimum model year.
max_priceNoMaximum price in US dollars.
min_priceNoMinimum price in US dollars.
max_mileageNoMaximum odometer mileage.

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. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint=false, so the safety profile is covered. The description then adds genuinely supplementary behavior: page size is fixed at 48, responses include live-count facets and total matches (explaining why idempotentHint is false), and an unresolvable ZIP is silently ignored rather than erroring. It stops short of stating rate limits or total result caps, which keeps it out of the top band.

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 no filler: purpose first, then the two behavioral facts an agent would otherwise get wrong, then sibling routing. Front-loading the search scope before the caveats is the right ordering.

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?

Against a 10-parameter, zero-required tool with full schema coverage, an output schema, and annotations, the description covers everything an agent needs: what it searches, page granularity, response facets, ZIP degradation, and which sibling to pick instead. Nothing material is missing for correct invocation.

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 parameter including sort's allowed values and ZIP's best-effort semantics is already documented in structured data. The description's parameter mentions (make, model, year, price, mileage, sort, ZIP, and the model-without-make rule) largely restate the schema rather than adding new meaning. Baseline 3 applies.

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 opening clause names a specific verb and resource ("Search CarMax used-car listing records") and enumerates the filter dimensions the tool supports. It also explicitly distinguishes itself from three named siblings (carmax_vehicle, carmax_search_suggestions, carmax_shop_by_brand), so an agent can place it in the toolset 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 Guidelines5/5

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

The final sentence routes the agent by naming each alternative and its role: one listing, typeahead, brand browsing. It additionally supplies a non-obvious invocation rule ("`model` works without `make`"), which prevents a common failed call pattern.

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.