Skip to main content
Glama

datasets_vehicle_listings_search

Read-only

Search the used-vehicle listings dataset by year, make, model, trim, mileage, price, seller, and location; Autotrader and Cars.com coverage is best-effort. Costs 1 credit per record returned (minimum 2), so keep page_size to what you need. Use datasets_vehicle_listings_facets to inspect available filters.

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

Input Schema

NameRequiredDescriptionDefault
qNoOptional full-text query over make, model and trim, max 256 characters.
vinNoOptional exact VIN filter. VIN is present on a best-effort basis and not guaranteed on every listing.
makeNoOptional exact make filter (e.g. Honda, Toyota), max 128 characters.
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
sortNoOptional sort order. Allowed values: relevance, recently_updated, newly_listed, price_asc, price_desc, mileage_asc, mileage_desc, year_desc, year_asc. Defaults to relevance with q, otherwise recently_updated.
trimNoOptional exact trim filter, max 128 characters.
modelNoOptional exact model filter (e.g. Civic), max 128 characters.
stateNoOptional exact US state abbreviation filter (e.g. CA), max 8 characters.
run_idNoOptional exact crawl run-id filter, max 128 characters.
sourceNoOptional exact source marketplace filter. Allowed values: carmax, autotrader, carsdotcom.
max_yearNoOptional maximum model year, e.g. 2024.
min_yearNoOptional minimum model year, e.g. 2018.
fuel_typeNoOptional exact fuel type filter (e.g. Gas, Hybrid, Electric), max 128 characters.
max_priceNoOptional maximum price in US dollars, 0 or greater.
min_priceNoOptional minimum price in US dollars, 0 or greater.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
body_styleNoOptional exact body style filter (e.g. Sedan, SUV), max 128 characters.
drive_typeNoOptional exact drivetrain filter (e.g. Front Wheel Drive), max 128 characters.
max_mileageNoOptional maximum odometer mileage, 0 or greater.
seller_typeNoOptional exact seller type filter. Allowed values: retailer, dealer, private.
transmissionNoOptional exact transmission filter, max 128 characters.
is_price_reducedNoOptional filter for listings currently marked down from a previous price.

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.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, openWorldHint and idempotentHint=false, but the description adds genuinely non-obvious behavior: a metered cost of 1 credit per record with a 2-credit minimum, and a best-effort coverage caveat for Autotrader/Cars.com. The billing model is the single most decision-relevant fact for an agent here and it is stated up front rather than buried.

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?

Two sentences, front-loaded with the verb and resource, then cost, then the alternative tool. Every clause carries information: coverage caveat, credit pricing, and the routing hint. No restating of the name or title.

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 22-parameter, zero-required tool with full schema descriptions, annotations and an output schema, the description covers purpose, cost model, coverage caveats and one alternative. Minor gap: it doesn't state that multiple filters combine conjunctively or how `q` interacts with the exact-match filters, which matters at this parameter count.

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

Parameters4/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 carries per-parameter meaning and the baseline is 3. The description goes beyond that by tying `page_size` to a concrete cost consequence ("Costs 1 credit per record returned... keep `page_size` to what you need"), giving an economic reason to choose a value the schema only bounds numerically.

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?

Names a specific verb ("Search") and a specific resource (the used-vehicle listings dataset), then enumerates the filterable dimensions (year, make, model, trim, mileage, price, seller, location). The scope and source coverage note ("Autotrader and Cars.com coverage is best-effort") make it clearly distinguishable from the facets and item siblings.

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?

Explicitly routes one related task away: "Use datasets_vehicle_listings_facets to inspect available filters" rather than guessing values here. It also gives cost-driven sizing guidance ("keep `page_size` to what you need"). It stops short of saying when to prefer this over datasets_vehicle_listings_item or datasets_vehicle_listings_price_history, so no full when-not/alternatives matrix.

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.