Skip to main content
Glama

ExchangeRebel — pay-per-call APIs for AI agents (x402 on Solana)

companies_uk_lei

Fetch a normalized GLEIF LEI record by LEI code. $0.05 per call — USDC on Solana via x402 (over MCP: call without payment to get the PaymentRequired challenge, then retry with the payment at _meta["x402/payment"]). HTTP equivalent: GET https://exchangerebel.com/toll/companies-uk/lei/{lei}.

Input Schema

NameRequiredDescriptionDefault
leiYes20-character ISO 17442 LEI

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: exact pricing ($0.05/call), payment rail (USDC on Solana via x402), the required two-step challenge/retry handshake with the _meta["x402/payment"] field, and the equivalent HTTP endpoint. Payment and auth requirements are precisely the behavioral details the annotations cannot convey.

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 core purpose, then the commercial/transport details. Every sentence carries operational weight, though the x402 parenthetical is dense and could be tightened.

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?

There is no output schema, so the description could have hinted at what a 'normalized record' contains (fields, coverage). It covers invocation and payment completely but leaves the return shape entirely opaque for an agent that must decide whether the result is usable.

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 single parameter is already documented as a '20-character ISO 17442 LEI'. The description only restates 'by LEI code', adding no format, validation, or lookup-behavior detail beyond the schema.

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?

States a specific verb and resource: 'Fetch a normalized GLEIF LEI record by LEI code.' The 'GLEIF LEI' qualifier distinguishes it from siblings like companies_uk_company, companies_uk_ownership, and companies_uk_search, though it never names them explicitly.

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 gives procedural guidance on how to invoke it (call once to receive the PaymentRequired challenge, then retry with payment), which is useful for the x402 flow. However, it offers no guidance on when to choose this over the sibling company tools that also take UK company identifiers.

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