Skip to main content
Glama

WhichTrim vehicle records

decode_vin

Read-onlyIdempotent

Decode a 17-character VIN against NHTSA's vPIC database and join it to the WhichTrim record for that model year: year, make, model, engine, plant, plus the grade and recall campaigns on file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vinYesA 17-character VIN.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, openWorld, idempotent, and non-destructive behavior. The description adds meaningful behavioral context by naming the external NHTSA database dependency and enumerating the fields it returns, including grade and recall campaigns. It does not contradict annotations.

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?

The description is one dense, front-loaded sentence that names the action, the external source, the join target, and the returned fields without waste. Every clause adds useful information for the agent.

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?

For a single-parameter, non-destructive, idempotent tool with rich annotations, the description is nearly complete. It covers the input format, the external database, the join behavior, and the expected output fields. It does not describe failure behavior for invalid VINs or external service unavailability, but these are minor given the annotations.

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 single parameter 'vin' is described as 'A 17-character VIN.' The description repeats that format but adds no new semantic detail such as normalization, validation behavior, or case sensitivity. A baseline of 3 is appropriate because the schema already carries the parameter meaning.

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 uses a specific verb and resource: "Decode a 17-character VIN against NHTSA's vPIC database" and then explains the join to the WhichTrim record with a clear field list. This distinguishes it from sibling lookup tools like get_vehicle or lookup_bulletin by tying the VIN decode to NHTSA and WhichTrim data.

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?

The usage context is clear: this is the tool to use when a full VIN decode joined to WhichTrim model-year data is needed. It does not explicitly name alternatives or exclusion conditions, but the combination of NHTSA VPIC and WhichTrim join makes the selection unambiguous enough for an agent.

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