Skip to main content
Glama

Decode a VIN

decode_vin
Read-onlyIdempotent

Decode a VIN. Use this when the user gives a 17-character vehicle identification number or asks to "decode this VIN". Returns the model year, make, model, trim, body class, manufacturer, plant country, engine and fuel from NHTSA vPIC, and warns when the VIN's check digit does not match. Follow it with check_vehicle_recalls using the year, make and model to list the vehicle's recalls.

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
vinNo
noticeYes
statusYes
messageNo
vehicleNo

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.4/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 real context beyond that: the data source (NHTSA vPIC), the fields returned, and the check-digit mismatch warning, which is a behavior an agent would otherwise not anticipate.

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 action, then trigger, then output, then next step — a logical order with no filler. The enumeration of returned fields is slightly redundant given an output schema exists, but it is compact and readable.

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 one-parameter, read-only lookup with an output schema and rich annotations, the description covers trigger, source, output shape, edge-case warning, and follow-up. Nothing an agent needs to call it correctly is missing.

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 coverage is 100% and the pattern plus the no-I/O/Q rule are already documented in the schema, so the description's "17-character" mention is largely duplicative. Baseline 3 applies since the schema does the heavy lifting for the single parameter.

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 ("Decode a VIN") and immediately scopes it to a 17-character VIN, which cleanly separates it from the recall-search siblings. An agent can identify the tool's job without opening the 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?

Gives an explicit trigger ("when the user gives a 17-character vehicle identification number or asks to 'decode this VIN'") and names the follow-up tool check_vehicle_recalls with the exact arguments to pass. Both when-to-use and the next step are spelled out.

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.