Skip to main content
Glama

LEI Lookup (GLEIF)

lei_lookup
Read-onlyIdempotent

LEI lookup (GLEIF): find a company's Legal Entity Identifier by legal name, or get the full record by LEI: legal name, jurisdiction, entity and registration status, registered and headquarters address, and direct and ultimate parent companies. Use when you need a Legal Entity Identifier, the GLEIF record, or the listed parent companies. Global coverage, CC0 data. Not a compliance determination. Signed receipt. Price: $0.002 per call via x402 (USDC on Base or XRP on XRPL). The response includes a provenance block (sg-provenance/1): each fact carries its source, source URL, retrieval time and limits; evidence only, no score, rating or verdict. Example arguments: {"lei":"HWUPKR0MPOU8FGXBT394"}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lei_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
leiNo20-character LEI (give lei or name)
nameNoLegal name search

Output Schema

NameRequiredDescriptionDefault
dataNoGLEIF LEI record(s): legal name, jurisdiction, status, addresses, direct and ultimate parents
receiptNoEd25519-signed, hash-chained receipt; verify free with the verify_receipt tool or POST /v1/verify-receipt. New receipts carry a signed `evidence` object: service_version, data_timestamp, validation, terms_version, terms_hash, provenance_hash.

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/openWorld, and the description adds substantial context beyond them: per-call pricing and payment rails (x402, USDC/XRPL), a signed receipt, CC0 data licensing, and a provenance block describing per-fact sourcing and limits. It also explicitly disclaims scoring or verdicts, which is exactly the behavioral boundary an agent needs.

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 purpose and usage, then pricing and provenance details. Dense but every sentence carries information an agent needs (cost, data license, provenance shape); the pricing and provenance sentences could be tightened slightly.

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?

An output schema exists, so return values need not be enumerated, yet the description still explains the provenance block's structure and the evidence-only stance. Combined with pricing, licensing, and the compliance disclaimer, nothing material is missing for a two-parameter lookup.

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; the description adds value with a concrete example argument ({"lei":"HWUPKR0MPOU8FGXBT394"}) that demonstrates the expected LEI format and the either/or usage of lei vs name. It does not add further semantics beyond that example.

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 ('find a company's Legal Entity Identifier by legal name, or get the full record by LEI') and enumerates the returned fields, so an agent can distinguish it from siblings like sanctions_screen or counterparty_check 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?

'Use when you need a Legal Entity Identifier, the GLEIF record, or the listed parent companies' gives clear selection context, and 'Not a compliance determination' implicitly steers compliance use cases elsewhere. It stops short of naming an explicit alternative tool or exclusion, so it is not 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