Skip to main content
Glama

Validate LEI (ISO 17442)

validate_lei
Read-onlyIdempotent

Legal Entity Identifier checksum validation. $0.002 per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leiYes20-character Legal Entity Identifier (ISO 17442), e.g. 5299000J2N45DDNE4Y28

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is well-covered. The description adds the cost of '$0.002 per call' and scopes behavior to 'checksum validation,' which communicates that full LEI registry verification is not performed. This is useful contextual information beyond what annotations provide.

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?

The description is two short, front-loaded sentences with no redundant words. The core purpose ('checksum validation') comes first, followed by the only additional behavioral detail (cost). Every word earns its place, and the structure is easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has no output schema, so the description carries the burden of explaining what the caller can expect in return, but it does not specify the return type (e.g., boolean, status object, error behavior). It also omits any note about edge cases, such as what happens with a malformed LEI. For a single-param, read-only tool with annotations, the gaps are moderate but noticeable.

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 'lei' parameter already clearly documents length, format, and an example. The tool description adds no additional parameter-level detail. With full schema coverage, a baseline score of 3 is appropriate, as the description does not need to compensate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the operation as 'checksum validation' and the resource as 'Legal Entity Identifier (ISO 17442)', which is specific and informative. It does not explicitly contrast with sibling validators like validate_iban or validate_isin, but the identifier type alone is sufficient to disambiguate. It falls slightly short of a 5 because it never states that it should be used only for LEI and not other identifiers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description implies that the tool is used when a 20-character LEI needs to be checked, but it gives no explicit guidance on when to choose this tool over validate_bic, validate_iban, validate_isin, or validate_vat. There are no exclusion conditions or mention of prerequisites such as 'only for checksum verification, not registry lookup.' Usage context is implied by the resource name 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.