Skip to main content
Glama

Search used cars for sale in Japan

search_used_cars
Read-onlyIdempotent

Use this when someone wants to buy a used car in Japan, or asks for a used car that fits a budget, a model year, mileage or a manual transmission. To narrow to a specific car, first find its generation with search_vehicles and pass model_id (or series_id for any generation of a series). Returns the cars that dealers list on car-gene.com and that are on sale now: {filters, sort, total, used_cars, next_offset}. Each car has model (the generation it is, with chassis_code and its page url), grade, minor_change_name, total_price_yen (the total payment to drive it away, including the dealer's fees; quote this price, never price_yen alone), price_yen (the body price), first_registration_year and month, mileage_km, inspection_year and month (the vehicle inspection is valid until then), repair_history (true when the car has had frame damage repaired), transmission, shop (the dealer's name, prefecture and city) and the url of its page on car-gene.com, where the photos, details and the inquiry form are. Both prices null means the price is on request. Budget filters use total_price_yen, so cars with the price on request are left out of them. The order is sort only. Cars are cut to fit the response size; when next_offset is not null, call again with offset set to it. Empty used_cars means nothing matched among the cars listed on car-gene.com, not that no such car is for sale elsewhere.

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

Input Schema

NameRequiredDescriptionDefault
sortNonew (latest listed first), price_asc, price_desc (by total payment), year_asc, year_desc, mileage_asc.new
offsetNoWhere to start in the list; pass next_offset from the previous response. Omit to start from the beginning.
max_yearNoLatest year of first registration (年式).
min_yearNoEarliest year of first registration (年式).
model_idNoGeneration (model) id, a UUID from search_vehicles. Takes precedence over series_id when both are given.
series_idNoSeries id, a UUID from search_vehicles, for cars of any generation of the series.
prefectureNoJapanese prefecture where the dealer is, in Japanese, such as 埼玉県, 東京都 or 北海道.
transmissionNomt (manual, MT), at (automatic, AT), cvt, or other.
max_mileage_kmNoHighest mileage in km.
no_repair_historyNotrue to leave out cars with repair history (修復歴あり).
max_total_price_yenNoBudget: the highest total payment in yen (2,000,000 for 200万円).
min_total_price_yenNoThe lowest total payment in yen.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the read-only/idempotent annotations: it explains that budget filters operate on total_price_yen so price-on-request cars are excluded, that both prices null means price on request, that quoting price_yen alone is wrong, that ordering is sort-only, that results are truncated with next_offset for continuation, and that empty results mean nothing on car-gene.com rather than nothing on the market. This is unusually rich behavioral disclosure.

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?

Front-loads the trigger conditions and the sibling routing, then moves to response shape and caveats; the sentences are dense and each carries information. The single long paragraph enumerating response fields is somewhat sprawling and would read better as a list, which is the only thing holding it below 5.

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?

There is no output schema, so the description carries the full return-value burden, and it does: it names every response field (filters, sort, total, used_cars, next_offset) and the per-car fields including pricing, inspection, repair history and page URL. Combined with the pagination and empty-result semantics, an agent has everything needed to call and interpret it.

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 coverage is 100% so the baseline is 3, but the description adds real meaning: budget filters are defined as acting on total_price_yen (not price_yen) and implicitly exclude price-on-request cars, and model_id/series_id are framed as coming from search_vehicles with the same precedence rule. It stops short of clarifying units or ranges for every numeric filter.

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 and resource ('search used cars for sale in Japan') plus the scope of what is returned. It explicitly distinguishes itself from sibling search_vehicles by describing that generation lookup happens there and its id is passed here.

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?

Opens with the exact user intents that should trigger it (budget, model year, mileage, manual transmission) and gives an explicit two-step workflow routing to search_vehicles first. Nothing about when to select this tool is left 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