Skip to main content
Glama

UK Data for Agents

lei_lookup

Read-onlyIdempotent

Find a legal entity by LEI or name (GLEIF): legal name, jurisdiction, status, address, renewal date, direct and ultimate parent. (cost: 1 credit)

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
leiNostring
nameNostring
limitNonumber
countryNoISO2
parentsNoboolean, default true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description's one genuine addition is the '(cost: 1 credit)' disclosure, which the annotations do not carry. It adds nothing about rate limits, auth, or whether name searches are fuzzy/partial matches, so it clears the lower bar set by annotations but does not exceed it much.

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?

A single front-loaded sentence with no filler, and the cost note is properly parenthesized at the end. The colon-delimited field list is slightly run-on and mixes return-value documentation into what is otherwise a purpose statement, but nothing is wasted.

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?

There is no output schema, so enumerating the returned fields (name, jurisdiction, status, address, renewal date, direct and ultimate parent) is exactly the right compensation, and the cost signal is present. For a five-parameter read-only lookup with full annotation coverage, an agent has what it needs to call it; only edge-case semantics (multi-result name search, limit behavior) are missing.

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 nominally 100%, but the schema descriptions are placeholders ('string', 'number', 'boolean, default true'), so the schema conveys types and little meaning. The description adds only that lookup can be keyed on LEI *or* name; it says nothing about 'limit' controlling name-search result count, 'country' narrowing by ISO2, or 'parents' toggling parent-entity retrieval despite default true.

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 ('Find') and resource ('a legal entity'), names the identifier sources (LEI or name) and the registry (GLEIF), and lists the returned attributes. The LEI/GLEIF framing cleanly separates it from sibling entity tools such as company_search, company_profile, and company_officers, which operate on other registries.

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?

Usage is only implied: an agent can infer it should call this when it has an LEI or a legal entity name. There is no guidance on when to prefer it over company_search/company_profile, no statement about what happens when both 'lei' and 'name' are supplied, and no note on whether name lookups return multiple candidates.

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