Skip to main content
Glama

Estimate what a car is worth as a trade-in

estimate_trade_in
Read-onlyIdempotent

Use this when the shopper wants to know roughly what their own car is worth as a trade-in, e.g. year: 2020, make: "Honda", model: "Accord", trim: "EX-L", mileage: 45000 (add vin when they give it). Do not use it to value a car a dealer is selling (that is vehicle_get).

It values the car the shopper wants to trade in or sell, for example to work out the net cost of a new car. With a vin it returns trade-in values for that exact trim and condition; without one it estimates from retail listings, which is less exact. A vin is decoded first, and the year, make and model it decodes as are the car valued, in vin_decoded_as. source says which (vehicle_database or comparable_listings), and guidance is a note on how firm the figure is and how it was reached.

On the estimate, market_data.trim_matched: false means the listings are of another trim, so the figure is based on similar cars, not this exact one. Without trim and mileage the comparison covers every trim and mileage of the model.

Money is in cents, as numbers. not_found means no comparable listing with a price was found for that year, make and model, so there is no figure.

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

Input Schema

NameRequiredDescriptionDefault
vinNoVIN of the trade-in vehicle
makeYesVehicle make
trimNoTrim level
yearYesModel year
modelYesVehicle model
mileageNoCurrent mileage
conditionNoVehicle condition (default: average)average

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
freshnessNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, openWorld), it discloses the key behavioral tradeoff: with a `vin` the value is exact for that trim and condition, without one it is estimated from retail listings and 'less exact', and the VIN is decoded first. It also flags the `not_found` case and that money is in cents. Some of the later prose explains return fields (`source`, `guidance`, `vin_decoded_as`) that the output schema likely already covers, 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?

The text is front-loaded with the use case and the exclusion before any detail, and paragraphs are organized by concern (when to use, accuracy, return interpretation). It runs long, and the closing explanation of `market_data.trim_matched` and `not_found` partly duplicates the output schema rather than earning space.

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?

For a 7-parameter estimation tool with an output schema, this is complete enough to call correctly: accuracy expectations, the VIN vs. no-VIN branch, currency units, and the no-result case are all stated. An agent would not need to guess at anything material before invoking it.

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 100%, so all seven parameters are already documented, making 3 the baseline. The description does add genuine semantics the schema lacks — that `vin` supersedes other identification via decoding, and that omitting `trim`/`mileage` widens the comparison to every trim and mileage of the model — but it does not cover `condition`'s effect or the required-vs-optional implications in detail.

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 opens with a specific verb-and-resource statement ('what their own car is worth as a trade-in') and immediately distinguishes it from the sibling `vehicle_get` ('Do not use it to value a car a dealer is selling'). An agent can route between them without opening either schema.

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?

It gives an explicit trigger ('when the shopper wants to know roughly what their own car is worth'), a concrete argument example, and an explicit exclusion naming the alternative tool for dealer-sold cars. It also states the purpose context (net cost of a new car), leaving nothing 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