Skip to main content
Glama

LEI lookup (GLEIF)

lei_lookup

Resolve a legal entity to its Legal Entity Identifier via the GLEIF API. Supply identifier_type as lei or name, and identifier_value accordingly. Returns LEI, legal name, jurisdiction, status and registration dates. CC0 source data, provenance attached.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
identifier_typeYesWhether identifier_value is a 20-character LEI or a legal name
identifier_valueYes20-character LEI or legal entity name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / identifier_type
      Added value: +{
      +  "description": "Whether identifier_value is a 20-character LEI or a legal name",
      +  "enum": [
      +    "lei",
      +    "name"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / identifier_value
      Added value: +{
      +  "description": "20-character LEI or legal entity name",
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • removedInput schema / properties / lei
      Removed value: -{
      -  "description": "20-character LEI",
      -  "maxLength": 200,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedInput schema / properties / name
      Removed value: -{
      -  "description": "Legal name to search",
      -  "maxLength": 200,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • addedInput schema / required
      Added value: +[
      +  "identifier_type",
      +  "identifier_value"
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does well on the output side by naming the returned fields (LEI, legal name, jurisdiction, status, registration dates) and the licensing/provenance of the data, but says nothing about ambiguity on name lookups (multiple or zero matches), rate limits, or auth requirements — the failure modes an agent most needs to plan for.

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?

Three tight sentences ordered as purpose, input contract, return payload — front-loaded with the action and the data source, with no filler or repeated information.

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?

For a two-parameter, fully-required, fully-described read tool with no output schema, the description covers intent, inputs and returned fields. The remaining gap is behavioral: no statement on what happens when a name resolves to several entities and no note that the lookup is read-only and side-effect free.

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 enum is already constrained, so the schema fully documents both parameters. The description's restatement of 'identifier_type as lei or name' adds no syntax, format, or normalization guidance beyond what is already structured, so the baseline 3 applies.

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 ('Resolve a legal entity to its Legal Entity Identifier') plus the upstream source (GLEIF API), which is more than a restatement of the name. It does not, however, distinguish itself from near-neighbours such as cross_registry_resolve or entity_match, so an agent must infer the boundary.

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 tells the agent how to drive the tool ('Supply identifier_type as lei or name, and identifier_value accordingly') but gives no when-to-use versus when-not guidance, no mention of when to prefer cross_registry_resolve or a national registry sibling, and no preconditions. Usage is implied by the input shape 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.

Resources