Skip to main content
Glama

validate_vin

Read-onlyIdempotent

Validate and decode a VIN. Checks length, the forbidden letters I, O and Q, and the position-9 check digit (required for North America, informational elsewhere). Returns the region, model year, manufacturer code, plant code and serial. It does not look up the make or model. Nothing is stored.

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

Input Schema

NameRequiredDescriptionDefault
vinYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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/closed-world, so the safety profile is covered; the description adds real context beyond that: the exact validation rules, the North-America-only enforcement of the check digit versus informational elsewhere, the list of decoded return fields, and confirmation that nothing is stored. The one meaningful gap is invalid-input behavior — it never says whether a failed VIN raises an error or returns a validity flag, which is the most important behavioral question for a validator.

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?

Four short sentences, front-loaded with the action, then the checks, then the outputs, then the exclusions and side-effect guarantee. Every clause carries information an agent would otherwise have to guess; nothing is repeated from the name or the annotations.

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?

With no output schema, the description correctly takes on return-value disclosure by naming region, model year, manufacturer code, plant code and serial, and it covers side effects and scope limits. The missing piece is what a failed validation returns or throws, plus the mismatch between the schema's 32-character allowance and the real 17-character VIN, both of which an agent would need before calling.

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 0% (the single 'vin' parameter has no description, min/max length only, and maxLength 32 is looser than the standard 17-character VIN), so the description must carry the burden. It partially compensates by implying the format rules (length check, forbidden letters), but never states the expected 17-character shape or how to pass the value, leaving the parameter under-specified relative to the 0% coverage baseline.

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 opens with a specific verb pair and resource ('Validate and decode a VIN') and immediately enumerates the exact checks performed (length, forbidden letters I/O/Q, position-9 check digit). It also scopes out a plausible but unsupported expectation ('does not look up the make or model'), which separates it from any VIN-lookup tool an agent might imagine.

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?

Usage is clear from the verb/resource and reinforced by the negative scope statement about make/model lookup, so an agent knows this is a structural/format validator, not a vehicle data service. It does not name any sibling alternative or state prerequisites (e.g., input must be a raw 17-character string), so it stops short of full when-to-use 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