Skip to main content
Glama

ScorpTech x402 Tools

Lei Validate

lei_validate
Read-onlyIdempotent

LEI check digits, ISO 17442 with ISO 7064 mod 97-10. Twenty letters or digits, and the whole number is 1 mod 97. Spaces and hyphens are ignored. This does not look the entity up at GLEIF. Returns JSON with: valid, compact, kind, reason, check, lou. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/lei-validate

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

Input Schema

NameRequiredDescriptionDefault
valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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: input normalization (spaces and hyphens ignored), the fact that validation is purely syntactic/offline, the per-call cost ($0.001 USDC via x402 on Base or Solana), and an alternate HTTPS endpoint. Cost and payment mechanism are exactly the kind of operational disclosure an agent needs before calling.

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 validation rule and the crucial GLEIF disclaimer, then return fields, then pricing. Every sentence carries information, but the final pricing/endpoint sentence is dense and reads as appended logistics rather than integrated guidance.

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?

There is no output schema, yet the description enumerates the return keys (valid, compact, kind, reason, check, lou), and it covers cost, transport alternatives, and normalization rules. For a single-parameter, read-only validator, an agent has everything needed to call and interpret it.

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 0% — the single 'value' property has no description — so the description has to carry it, and it does: 20 letters or digits, spaces and hyphens tolerated despite the maxLength of 40. The ISO 17442 / mod 97-10 rule is also given, which explains what the check actually means, though it does not spell out error behavior for malformed input.

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 and resource (LEI validation) plus the exact rule set applied: ISO 17442 check digits with ISO 7064 mod 97-10. It also draws the key boundary an agent would otherwise guess wrong: 'This does not look the entity up at GLEIF,' separating it from a registry-lookup tool and from unrelated validators like isin_validate.

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 negative case is explicit (not a GLEIF entity lookup), which tells an agent when not to use it. Usage is implied by the tool's nature (validating an LEI string passed in 'value'), but there is no explicit 'use this when' clause or routing guidance versus the other *_validate siblings, so it stops 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