Skip to main content
Glama

Alomo: Lookups

Decode a VIN and list safety recalls (NHTSA)

decode_vin
Read-onlyIdempotent

Decodes a 17-character vehicle identification number with NHTSA's official vPIC API (make, model, year, trim, body, engine, fuel, drive, plant) and lists NHTSA safety recall campaigns for that make, model and year. Checks the North American check digit. Recalls are by model and year, so they show what may apply; whether a specific car was repaired needs the manufacturer or nhtsa.gov/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
vinYes17-character VIN.
include_recallsNoDefault true.

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, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior: the North American check digit is validated, and recalls are matched at model/year granularity rather than to the specific VIN, which materially affects how results should be interpreted.

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?

Two sentences, front-loaded with what is decoded, followed by the recall caveat. Every clause carries information; nothing is redundant with the title or schema.

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?

There is no output schema, yet the description enumerates the decoded attributes and the recall output, and flags the precision limit of recall matching. For a two-parameter read-only lookup, nothing an agent needs in order to call it or interpret results 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%, so the VIN format and the include_recalls default are already documented in structured fields. The description reinforces the 17-character requirement and check-digit validation but adds no new semantics for include_recalls, so 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 (decodes) and resource (17-character VIN) and enumerates the returned fields (make, model, year, trim, body, engine, fuel, drive, plant) plus recall campaigns. This is clearly distinct from siblings like fda_recalls or validate_iban without needing to open any schema.

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?

Explains the applicable context (NHTSA vPIC decoding plus recall lookup for a make/model/year) and explicitly redirects the user elsewhere when the question is whether a specific car was repaired. It does not name an in-catalog alternative, but the boundary of what this tool answers is unambiguous.

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