Skip to main content
Glama

search_cars

Search a historical database of used-car listings using filters for make, model, price, mileage, location, and more. Find active or removed listings, sort results, and paginate through matches for market analysis or deal tracking.

Instructions

Search the local historical database of collected listings with rich filters, geography and pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
makeNo
sortNonewest | price_asc | price_desc | mileage_asc | distance | days_on_market | price_drop | year_desc | last_seennewest
trimNo
limitNoPage size (max 200).
modelNoModel or trim text, e.g. '3 Series', '328i', 'TT', 'WRX' (matches model, trim and title)
offsetNoPagination offset.
sourceNoMarketplace source filter, e.g. autotrader
statusNoactive (default) | any | not_observed | removedactive
has_vinNo
keywordsNoWords that must appear (in title/description/features); prefix - to exclude, quotes for phrases. e.g. '"one owner" -salvage manual'
latitudeNo
locationNoFree-text centre for radius search: city ('Vaughan'), 'City, PROV', or postal code ('M5V 3L9').
year_maxNo
year_minNo
fuel_typeNo
longitudeNo
price_maxNo
price_minNo
provincesNoProvince codes to include, e.g. ['ON','QC']. Omit for Canada-wide.
radius_kmNoRadius in km around `location` (or latitude/longitude).
body_styleNosedan | coupe | hatchback | wagon | convertible | suv | pickup | van | minivan
drivetrainNofwd | rwd | awd | 4wd
generationNoChassis/generation code such as 'E90', 'Mk4', 'NA', '8N'. See get_generation_codes for supported labels.
mileage_maxNo
mileage_minNo
seller_typeNoprivate | dealer
transmissionNomanual | automatic | cvt | dct
exclude_damagedNo
include_detailsNoInclude description, photos, seller and all fields for each item (larger payload)
min_price_dropsNo
max_days_on_marketNo
min_days_on_marketNo
newly_listed_sinceNoOnly listings first observed since: '24h', '7d', '2w' or ISO timestamp
price_drop_min_pctNoOnly listings whose current price is at least this % below their first observed price

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses that this searches a 'local historical database' (implying offline, collected data) and mentions pagination. However, it doesn't disclose return format, default behavior when no filters are given, or whether results are sorted by relevance vs. newest. The description adds some context but leaves significant behavioral details to the output schema.

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?

A single, dense sentence that front-loads the core purpose ('Search the local historical database of collected listings') and then summarizes capabilities. Every word earns its place; no fluff or repetition of schema details.

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

Completeness3/5

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

For a 34-parameter tool with no annotations, the description is minimal. The output schema exists, so return values are covered, and the schema documents many parameters. However, the description doesn't clarify key behavioral aspects like whether this is a read-only operation, how pagination interacts with sorting, or what 'historical' means in terms of data freshness. It's adequate but leaves gaps for a complex tool.

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 53%, so the schema documents many parameters. The description adds the high-level concept of 'rich filters, geography and pagination' but doesn't explain any specific parameter semantics beyond what the schema already provides. With 34 parameters and 53% coverage, the description could have compensated for the undocumented half, but it doesn't. 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 states a specific verb ('Search'), a specific resource ('local historical database of collected listings'), and the key capabilities ('rich filters, geography and pagination'). It clearly distinguishes this from the sibling search_live_marketplace by emphasizing 'local historical database' vs. live marketplace. An agent can tell this is the offline/historical search tool without opening the 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?

The description implies this is the tool for searching collected/historical listings, which contrasts with search_live_marketplace. However, it doesn't explicitly state when to use this vs. alternatives like get_new_listings, find_deals, or find_price_drops. The 'local historical database' phrasing gives clear context but no explicit exclusions or alternative routing.

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