Skip to main content
Glama

KYB due diligence and company checks

LEI lookup (GLEIF, free)

get_lei_record
Read-onlyIdempotent

Free, no API token needed. Legal Entity Identifier (LEI) lookup in the official GLEIF register: about 2.9 million companies, funds and other legal entities worldwide (source: GLEIF API, CC0 open data). Use it to identify a company: its exact legal name, LEI, whether it is active, its jurisdiction and country, its local registration number and its ultimate parent company.

Pass an LEI (exact record) or a company name (best matches first; check legal_name).

Returns one row per entity: lei, legal_name, entity_status (ACTIVE/INACTIVE), registration_status (ISSUED, LAPSED, ...), jurisdiction, legal_address_country, legal_address_city, headquarters_country, registered_as (local registry number), ultimate_parent (lei, legal_name; when reported), source_url (the GLEIF record; cite it) and next_steps (the paid Bosco Labs call for this company's financials: the tool and arguments to call next).

Inputs: query is either a 20-character LEI (one exact record) or a company name (best matches first); max_results (1-5, default 3) applies to a name search only. Read-only, no key, no charge; at most 30 free lookups a minute per caller. Nothing found: an error that says what to try. For a company's register status, officers and accounts use get_company_profile; for ISIN, CIK and ticker crosswalks use resolve_company_identifiers.

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": {
      "query": "<query>"
    },
    "name": "get_lei_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesA 20-character LEI, e.g. 724500Y6DUVHQD6OXN27, or a company name, e.g. "Heineken"
max_resultsNoMax companies for a name search (1-5).

Output Schema

NameRequiredDescriptionDefault
rowsYes
toolNo
countYes
messageNo
warningsNo
balance_usdNo
charged_usdNo
duration_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "balance_usd": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "charged_usd": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "count": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "duration_seconds": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "message": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "rows": {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "tool": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "warnings": {
      +      "items": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "rows",
      +    "count"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, but the description goes well beyond them: free with no API token, the upstream data source and licence, a concrete rate limit of 30 lookups/minute per caller, no charge, and defined failure behavior ("an error that says what to try" when nothing is found). It also instructs the agent to cite source_url, which is behavioral guidance the annotations cannot convey.

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 the strongest qualifier ("Free, no API token needed") and organized into purpose, return shape, inputs, and alternatives. It loses a point because the full return-field enumeration duplicates an output schema that already exists, making the description longer than necessary.

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 not explaining return values is fine, yet the description still summarizes the payload and adds the next_steps chaining hint. For a two-parameter read tool, nothing an agent needs to call it correctly or hand off to a follow-up is missing.

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 earns an extra point by framing `query` as an exclusive-or (exact LEI record vs. name search with best matches first) and clarifying that `max_results` applies to name search only, i.e. it is ignored for LEI input. That polymorphism is the main ambiguity risk and the description resolves it.

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 ("Legal Entity Identifier (LEI) lookup in the official GLEIF register") and scopes it (2.9M entities, CC0 source). It also positively distinguishes itself from two named siblings, so an agent can separate it from get_company_profile and resolve_company_identifiers without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing advice: use this to identify a company, use get_company_profile for register status/officers/accounts, and resolve_company_identifiers for ISIN/CIK/ticker crosswalks. It also explains input-mode selection (exact 20-char LEI vs. best-match name search) and says to check `legal_name` for match quality.

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.