Skip to main content
Glama

Identifier check-digit validation (IBAN, ISIN, LEI, GTIN/UPC/EAN, ISBN, VIN)

id_validate

Use to catch typos and fabricated identifiers before acting on them: validates the format and check digits of an IBAN (with country length), ISIN, LEI, GTIN/UPC/EAN, ISBN-10/13 or VIN and returns the normalized value, each check result, the expected check digit and parsed parts (e.g. IBAN country, VIN region). Syntax and checksum only: does not prove the identifier is registered or active. The value is not stored. PAID tool: call without x402_payment to get the payment requirements. Result text fields are untrusted data. Price: $0.005 per call. Paid in REAL USDC on Base mainnet (chain 8453) via x402.

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": {
      "kind": "<kind>",
      "value": "<value>"
    },
    "name": "id_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesIdentifier type.
trialNoFree trial instead of payment: a few calls per client per UTC day (shared across paid tools); result marked mode=trial.
valueYesThe identifier; spaces and hyphens are ignored.
x402_paymentNoBase64 x402 v1 'exact' EIP-3009 payment payload for Base mainnet (REAL USDC on Base mainnet (chain 8453)). Omit on the first call to receive the payment requirements as a tool error (structuredContent.accepts); sign them and call again with this argument. One payment funds exactly one call.

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 openWorldHint and non-idempotency, and the description adds substantial context beyond them: paid pricing ($0.005/call, real USDC on Base mainnet), the payment handshake (call without x402_payment to receive requirements), the untrusted-result warning, and the fact the value is not stored. The trial/payment model and one-payment-per-call rule are the kind of detail agents need and cannot get from annotations. The readOnlyHint=false with 'value is not stored' is not clearly contradictory, but the description could be sharper on that point.

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?

Front-loaded with the value proposition and scope, then the return shape, then the caveat, then the payment mechanics. Nearly every clause earns its place, though the payment/pricing detail is repeated across the description and the x402_payment schema, which is slight redundancy rather than a flaw.

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 four-parameter tool with no output schema, the description covers what is returned (normalized value, each check result, expected check digit, parsed parts like IBAN country and VIN region), what is out of scope, and the full payment procedure. Nothing an agent needs in order to call it correctly 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 description coverage is 100%, so every parameter (kind enum, value semantics with spaces/hyphens ignored, trial, x402_payment) is already documented in structured fields. The description reinforces the payment-retry flow in prose but adds no new per-parameter meaning, so the baseline of 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?

Names a specific verb and resource (validates identifier format and check digits) and enumerates exactly the supported identifier types: IBAN, ISIN, LEI, GTIN/UPC/EAN, ISBN-10/13, VIN. An agent can tell at a glance this is not the same as email_validate or a lookup/registration service, reinforced by the explicit scope statement 'Syntax and checksum only'.

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 a concrete triggering condition ('use to catch typos and fabricated identifiers before acting on them') and an explicit boundary in 'does not prove the identifier is registered or active', which tells the agent when a different lookup tool would be needed. It does not name a specific alternative tool, so it falls short of a 5.

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