Skip to main content
Glama

lei_lookup

Resolve a legal entity through the GLEIF Legal Entity Identifier registry. Look up a known LEI code, or search by legal name to find one. Returns the official legal name, registered and headquarters addresses, jurisdiction, legal form, registration status, national company-register number, and BIC codes — plus optional parent/subsidiary ownership links. Use for counterparty KYC, entity resolution, and corporate-structure research. Provide either lei or name. Costs 3 credit(s) per call.

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
leiNoA 20-character LEI code (ISO 17442), e.g. 'HWUPKR0MPOU8FGXBT394'. Mutually exclusive with `name`.
nameNoLegal entity name to search for, e.g. 'Tesla, Inc.'. Mutually exclusive with `lei`.
limitNoMaximum records to return for a name search.
countryNoOptional ISO 3166-1 alpha-2 country code to narrow a name search, e.g. 'US'.
include_relationshipsNoWhen looking up by `lei`, also return the direct parent, ultimate parent, and direct-subsidiary count.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description does real work: it enumerates the returned fields (legal name, addresses, jurisdiction, legal form, status, register number, BIC), flags the optional parent/subsidiary links, and discloses a cost of 3 credits per call — a trait no structured field carries. It omits auth requirements, rate limits, and error behavior, which keeps it below the top band.

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 identification of the resource before modes, use cases, and cost. Dense but nearly every clause carries information; the return-field list is long but substitutes for a missing output schema.

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?

No output schema exists, and the description compensates by describing the returned payload including the optional relationship data. Combined with the credit cost and the either/or input rule, an agent has enough to call it correctly; only auth and failure-mode details are absent.

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%, so all five parameters are already documented with examples and constraints. The description repeats the lei/name mutual exclusivity and the ownership-link option without adding syntax or format detail, so it adds no 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?

States a specific verb-and-resource pair: resolve a legal entity via the GLEIF LEI registry, with two concrete modes (lookup by known LEI code, or name search). The entity-resolution scope is distinct from siblings like uk_legal_search and validate_eu_vat, so an agent can route correctly 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?

Gives concrete use cases (counterparty KYC, entity resolution, corporate-structure research) and the operating constraint 'Provide either lei or name'. It does not name an alternative tool or state when NOT to use this one, so it stops short of full when/when-not guidance.

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