Skip to main content
Glama

Check which vehicles the catalog carries

check_vehicles
Read-onlyIdempotent

Free. Check a list of up to 100 vehicles in one call before rendering any: which ones the catalog carries and under which vehicle id. Send each as the list spells it ({make, model, year}) or as a stored id ({vehicle}), with an optional ref that is echoed back. Each entry is read exactly as get_car_image would read it and answered as match (vehicle.id is the id to store and render by; vehicle.match is exact, or the looser rule that read the name), suggestion (not in the catalog as named; suggestions are real vehicles close to it, such as the same model in its nearest year, which is another car: ask the human before using one), miss (nothing close: skip it in every view and color) or invalid (error says what to fix). Use it for a catalog, a spreadsheet or any list of more than a few cars, instead of one lookup or one paid render per car; summary counts each status and the distinct vehicles a backfill would render. With views: true each match also carries views.prepared (0-9) and views.missing, which of its nine camera views are prepared now, and views.verified, the prepared views that are verified (a view not listed has not been verified yet, nothing more); summary.views_complete counts the vehicles with all nine prepared and summary.views_verified those whose every prepared view is verified. A longer list is work for code: car-image check , or client.checkVehicles, 2,000 vehicles per request.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "vehicles": "<vehicles>"
    },
    "name": "check_vehicles"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewsNotrue: each match also says which of its nine camera views are prepared now, as get_image_availability reports them (views.prepared 0-9 and views.missing), and which of the prepared ones are verified (views.verified). Free and read-only. Default false.
marketNoMarket of sale the list is for: a two-letter country code such as AU. Only when the human named a market or the list is for one; otherwise omit (the account's default applies, if set). An entry may name its own.
vehiclesYes1 to 100 vehicles, each {make, model, year} as the list spells them or {vehicle} for a stored id, with an optional ref echoed back.

Output Schema

NameRequiredDescriptionDefault
dataYes
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety burden is light; the description still adds real behavior: it is free, entries are read by the same rules as get_car_image, and each returns one of four statuses with defined consequences. It also explains that suggestions are different real cars and must be confirmed by a human before use, and how views prepared/verified are counted. It does not discuss rate limits or error granularity beyond 'error says what to fix', which keeps it short of a 5.

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-loaded with the cost and the core action, then the entry shapes, statuses and options in a logical order. It is dense and clause-heavy, with several long parenthetical asides that slow scanning, but almost every sentence carries operational information rather than filler.

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?

Rich supporting structure (output schema, full annotation set, 100% schema coverage) means the description only needs the pieces structured data cannot express, and it supplies them: the four result statuses, the human-confirmation rule for suggestions, the views counting semantics, and the batch-size ceiling with a code path beyond 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; the description adds meaning on top by stating the two accepted entry shapes ({make, model, year} spelled as listed, or {vehicle} stored id) and that ref is echoed back. It also explains what views: true yields in the response (prepared 0-9, missing, verified), nuance that a bare schema flag alone would not convey.

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?

Opens with a specific verb, resource and scope: checking a list of up to 100 vehicles before rendering any, returning which the catalog carries and under which vehicle id. It is clearly distinguishable from single-lookup or render siblings by its batch framing and by naming the per-car alternative it replaces.

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?

Gives explicit when-to-use (a catalog, a spreadsheet, any list of more than a few cars) and when-not (instead of one lookup or one paid render per car), plus an escalation path for longer lists via the CLI or client method at 2,000 per request. The market parameter also carries its own usage rule: only when the human named a market or the list is for one.

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