Skip to main content
Glama

Check a used car price in Spain

check_price
Read-only

Market price of a used car for sale in Spain, from the adverts of thousands of dealers, read again every day: the usual asking price (median), the range where half the cars are advertised (p25 to p75) and how many comparable cars it is based on. With an asking price it also says whether that price is expensive, fair or cheap. Works for any car, listed with us or not. Make and model are written as people write them ("SEAT", "León", "Mercedes-Benz", "Clase C"); case and accents do not matter. Use list_models when unsure of the spelling.

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": {
      "make": "<make>",
      "model": "<model>",
      "year": "<year>"
    },
    "name": "check_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
makeYesMake, e.g. "Toyota"
yearYesYear of first registration, e.g. 2019
modelYesModel, e.g. "Corolla"
priceNoAsking price in euros, optional

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly and a closed-world data source, so the safety profile is covered. The description adds genuinely useful behavior: the underlying data is dealer adverts refreshed daily, results are statistical (median, interquartile range, sample size), and coverage is not limited to inventory on the platform — though it says nothing about what happens when comparable cars are too few.

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 most decision-relevant fact — what comes back — before the caveats and the list_models fallback. Dense but every clause carries information; only the phrasing around the daily re-read is slightly awkward.

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?

With no output schema, the description carries the return-value burden and does so by naming each returned statistic and the verdict categories. What it omits is edge-case behavior, such as insufficient comparable cars or unsupported year/make combinations, which matters for an openly-scoped query tool.

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 baseline is 3, but the description adds real meaning beyond it: make and model should be human-written strings, case and accents are ignored, and price is the switch that turns on the valuation verdict. The examples ("SEAT", "León", "Clase C") reinforce the expected format better than the schema's generic examples.

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 concrete resource and output: market price of a used car in Spain, with median, p25-p75 range, sample count, and an expensive/fair/cheap verdict. Scope is bounded ('in Spain') and the data source ('adverts of thousands of dealers, read again every day') makes it unmistakably distinct from a listing search or a province roll-up.

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?

Gives the trigger for the optional price parameter ('With an asking price it also says whether that price is expensive, fair or cheap') and routes to list_models when spelling is uncertain, plus clarifies it works for cars not listed with the site. It does not, however, say when to prefer this over province_market or search_cars, which are close neighbours.

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