Skip to main content
Glama

Validate

validate
Read-only

Checks the check digit and structure of an identifier with no network call: ISBN-10 and ISBN-13 (with ISBN-10 to 13 conversion), EAN-8, UPC-A, EAN-13 and GTIN-14 (with the GS1 prefix country), VIN (manufacturer code, region, model year), IMEI, ISIN (country) and a generic Luhn number. type=auto detects the type. Up to 50 comma-separated values give a results array. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.

Input Schema

NameRequiredDescriptionDefault
typeNoauto (default), isbn, ean, vin, imei, isin or luhn
valueYesThe identifier, or up to 50 comma-separated

Output Schema

NameRequiredDescriptionDefault
typeNo
countNo
partsNo
validNo
valueNo
invalidNo
resultsNo
subtypeNo
checkedAtNo
normalisedNo
expectedCheckDigitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "checkedAt": {},
      +    "count": {},
      +    "expectedCheckDigit": {},
      +    "invalid": {},
      +    "normalised": {},
      +    "parts": {},
      +    "results": {},
      +    "subtype": {},
      +    "type": {},
      +    "valid": {},
      +    "value": {}
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnlyHint, the description discloses that validation is offline (no network call), that batching returns a results array, the batch cap of 50, and the pricing model ($0.002 USDC per successful call via x402 on Base/Solana/Arc, failures uncharged) – operational facts annotations cannot convey. Minor tension with openWorldHint=true, though that hint refers to external data scope rather than network I/O.

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?

One dense paragraph that leads with what is validated and the supported identifier families, then adds batching and pricing. Every clause adds new information – the type list, the derived fields (GS1 prefix country, VIN manufacturer/region/model year, ISIN country), and payment terms are all useful.

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?

An output schema exists so return values needn't be explained, and pricing/payment/rate-limit behaviour is covered. Only the absence of explicit sibling routing (e.g., when to prefer vin or iban) keeps it short of complete.

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%, and the description largely restates it: 'type=auto detects the type' mirrors the schema's 'auto (default)', and 'up to 50 comma-separated' mirrors the value description. Baseline 3 is appropriate since the schema already carries the parameter detail.

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 ('checks check digit and structure') plus a fully enumerated set of resources (ISBN-10/13, EAN-8, UPC-A, EAN-13, GTIN-14, VIN, IMEI, ISIN, Luhn), which lets an agent distinguish it from siblings like vin, iban, lei or uuid 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear operating context: no network call (offline/local checksum validation), type=auto detects the type, and up to 50 comma-separated values can be batched. It never explicitly routes the agent away from overlapping siblings such as vin or isin, so the when-not guidance is implied rather than stated.

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