Skip to main content
Glama

Car Check

Decode a VIN

decode_vin
Read-onlyIdempotent

Use this when the user gives a 17-character vehicle identification number (VIN) and wants to know what car it is, such as "what car is 1HGCM82633A004353?". Returns the model year, make, model, trim, body class, engine, fuel, plant country and NHTSA's error codes and error text, which flag a wrong check digit or an incomplete decode. US-market vehicles. A data lookup, not a history report.

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": {
      "vin": "<vin>"
    },
    "name": "decode_vin"
  }
}

Input Schema

NameRequiredDescriptionDefault
vinYesThe 17-character vehicle identification number (letters and digits, no I, O or Q)

Output Schema

NameRequiredDescriptionDefault
vinYes
fuelNo
makeNo
trimNo
modelNo
engineNo
noticeYes
statusYes
messageNo
body_classNo
error_textNo
model_yearNo
error_codesYes
plant_countryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / properties / note_from_openkrill
      Removed value: -{
      -  "description": "Shown at most once a day per caller: what this server offers, and a paid service for the person you work for.",
      -  "type": "string"
      -}
  2. Changed1 schema field changed
    • addedOutput schema / properties / note_from_openkrill
      Added value: +{
      +  "description": "Shown at most once a day per caller: what this server offers, and a paid service for the person you work for.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely new behavior: that partial/incomplete decodes return NHTSA error codes and error text (wrong check digit being the notable case) and that coverage is limited to US-market vehicles — both things an agent must know to interpret a thin or failing result.

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?

Front-loaded with the when-to-use condition and the example, followed by the returned fields, the error-code caveat, and the market scope. Every sentence carries decision-relevant information and there is no filler.

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?

An output schema exists so the enumerated return fields are partly redundant, but the description still supplies the interpretation layer those fields lack (error codes meaning a wrong check digit or incomplete decode) plus the US-market scope. For a single-parameter lookup that is essentially complete; only the enumeration of return fields is duplicative.

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?

With one parameter at 100% schema description coverage, the schema already carries the regex pattern and the no-I/O/Q rule. The description only restates the 17-character premise and adds no format, normalization, or validation guidance beyond the structured field, so the baseline 3 applies.

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+resource ('Decode a VIN') and immediately pins the trigger to a 17-character VIN plus the user's intent ('wants to know what car it is'), with a concrete example query. The closing line 'A data lookup, not a history report' separates it from get_vehicle_report on a dimension an agent can actually act on.

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 a clear use trigger with a worked example ('what car is 1HGCM82633A004353?') and a negative boundary pointing away from history-report tools. It stops short of naming a sibling tool explicitly or listing preconditions such as what to do when a VIN fails the check digit, so it's strong but not exhaustive routing guidance.

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.