Skip to main content
Glama

Agent Data Hub

ISIN / CUSIP / SEDOL / LEI check-digit validator

validate_security_id
Read-onlyIdempotent

Validate a securities or entity identifier and auto-detect its type: ISIN (12), CUSIP (9), SEDOL (7) or LEI (20). Returns valid true/false, the expected check digit, the parts (country, issuer, LOU prefix) and conversions (CUSIP→US ISIN, SEDOL→GB ISIN, ISIN→embedded CUSIP/SEDOL). Use before trading, KYC or data matching to catch typos. Price: $0.001 per call (USDC on Base via x402); the first 10 calls per day are free.

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": {
      "id": "<id>"
    },
    "name": "validate_security_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIdentifier, e.g. US0378331005
typeNoOptional: isin, cusip, sedol or lei (auto-detected by length)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds material context beyond them: the return shape (valid flag, expected check digit, parsed parts, derived ISINs) and real operational constraints (x402 USDC pricing on Base, 10 free calls per day). Cost and rate-limit disclosure is exactly the kind of behavior an agent cannot infer from annotations.

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?

Three sentences, front-loaded with the capability statement before returns and pricing, with no filler. It is dense — returns, conversions and pricing are packed into long clauses — but every clause carries information an agent needs.

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?

With no output schema, the description must describe results itself, and it does: validity, check digit, parsed components, and cross-identifier conversions. Combined with usage contexts and pricing, an agent has enough to decide, call, and interpret the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description earns above baseline by explaining auto-detection and the exact length per type (ISIN 12, CUSIP 9, SEDOL 7, LEI 20). That tells the agent when the optional `type` parameter can be omitted and how it is resolved when supplied.

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 names the specific verb (validate), the resource class (securities or entity identifier), and enumerates the exact identifier types with their lengths. It goes further by naming the returned fields and conversion directions, so an agent knows precisely what it produces 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?

It gives concrete activation contexts ('before trading, KYC or data matching to catch typos'), which is clear positive guidance. It does not, however, state exclusions or route the agent to alternatives such as company_lei for extracting LEI entity attributes, leaving some selection ambiguity among siblings.

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