Skip to main content
Glama

Agent Data Tools: Utilities

VIN decoder: make, model, year, engine and plant from a VIN

vin
Read-only

Decode a 17-character vehicle identification number (VIN) with the US NHTSA vPIC database: make, manufacturer, model, model year, trim, body class, vehicle type, doors, drive, fuel and electrification, engine cylinders, displacement and horsepower, transmission, weight class and assembly plant, plus the check-digit test. Best for North American vehicles. Use for listings, insurance and fleet records. A malformed VIN is a 400, uncharged. Example: vin=1HGCM82633A004352. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": "vin"
  }
}

Input Schema

NameRequiredDescriptionDefault
vinYes17-character VIN (letters I, O and Q never appear)
yearNoOptional model year, which helps decode older or partial VINs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / year / maximum
      Previous value: -9007199254740991New value: +9999
    • changedInput schema / properties / year / minimum
      Previous value: --9007199254740991New value: +0
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, but the description adds meaningful behavior beyond them: malformed VINs return a 400 uncharged, failed calls are free, each successful call is billed at $0.01 via x402 USDC or a card key, and the first 10 are free. The mention that 'each call is charged, so repeats are not free' usefully reinforces the idempotentHint=false annotation rather than contradicting it.

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 purpose and decoded fields are front-loaded, followed by scope, use cases, error behavior and pricing. It is dense but mostly earned; the pricing tail is somewhat lengthy, though relevant for an agent deciding whether to retry.

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 decoder with no output schema, the description lists the returned fields, explains the check-digit test, error handling for malformed VINs, geographic suitability and cost model. An agent has enough information to call it correctly and interpret the result without further documentation.

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 both the vin and optional year parameters are already documented in the schema. The description adds a concrete VIN example and notes the check-digit test, but does not explain the optional year parameter's role beyond what the schema says, so a baseline 3 is appropriate.

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 states a specific verb and resource ('Decode a 17-character vehicle identification number') and enumerates the decoded attributes: make, model, year, engine, transmission and plant. This clearly distinguishes it from generic AI/utility siblings and tells an agent exactly what the tool produces.

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?

It gives concrete use contexts ('listings, insurance and fleet records') and a geographic constraint ('Best for North American vehicles'), plus an example input. It does not name alternatives or state when not to use it, so it falls short of full when/when-not 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.

Resources