Skip to main content
Glama

Legal Entity Identifier lookup by company name

lei_lookup

Resolve a company name to its Legal Entity Identifier (LEI) and retrieve registration data: legal name, addresses, legal form, and status. Lapsed entities are returned with a flag.

Instructions

Legal Entity Identifier (LEI) lookup from the GLEIF golden copy. Search by company NAME, not just by identifier — knowing the LEI already is the hard part. Returns the LEI, registered legal name, previous names, legal form, jurisdiction, legal and headquarters addresses, and the registration record. LAPSED, RETIRED and ANNULLED entities are returned with a lapsed flag rather than hidden, because a filtered record and no record look identical to a caller. Costs $0.03 USDC per call on Base mainnet (eip155:8453), paid automatically from the wallet in EVM_PRIVATE_KEY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qYesLegal entity name, max 200 chars. Include the suffix for a precise match, e.g. "Apple Inc." rather than "Apple".
leiNoExact 20-character LEI for a single record. Use instead of q.
limitNoMaximum name-search results, 1..50. Default 10.
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It explicitly discloses that lapsed/retired/annulled entities are returned with a flag instead of hidden (and why), and states the exact cost per call and payment method. This goes beyond basic expectations but does not cover all potential behaviors (e.g., rate limits or error handling), so a 4 is appropriate.

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?

The description is three sentences, each adding essential information: purpose, return fields, and edge-case/cost behavior. It is front-loaded and free of filler, though slightly longer than minimal. Every sentence earns its place.

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

Completeness4/5

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

Given no output schema and no annotations, the description provides a strong overall picture: what it does, what it returns, how edge cases are handled, and the cost. It lacks details on response format (e.g., JSON structure) but that is not required since no output schema exists. The schema covers parameters, and the description covers broader context well.

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 coverage is 100% with detailed parameter descriptions, so the baseline is 3. The description reinforces the purpose of q versus lei ('Search by company NAME, not just by identifier') and the schema provides the rest. It adds some nuance but does not introduce new parameter-level meaning beyond the schema.

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 uses a specific verb 'lookup' with a clear resource ('LEI from the GLEIF golden copy') and explicitly states search by company name. This distinguishes it from all sibling tools, none of which relate to LEI or entity lookup.

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 description clearly states the primary use case (looking up an LEI by company name) and contrasts it with using an identifier, implying the q parameter for name searches. It does not mention alternative tools because none are relevant, but it gives practical guidance on behavior (e.g., lapsed entities included) and costs, which helps the agent decide when to invoke it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/donnywin85/agent-utils-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server