Skip to main content
Glama

OpenCheck

opencheck_search

Read-only

Find a company's Legal Entity Identifier (LEI) from a name or free text.

Args:
    query: Company name or free-text query (e.g. "Rosneft").
    kind: "entity" (default) or "person".
    limit: How many ranked candidates to return (default 15, max 50).
    jurisdiction: Entity filter — ISO 3166 code of the jurisdiction of
        formation ("GB", "DE", "US", "US-DE"). Exact: "DE" never returns
        Delaware companies.
    legal_form: Entity filter — an ISO 20275 ELF code ("2HBR"), several
        comma-separated, "no-elf-code", or an abbreviation or name
        ("GmbH", "Aktiengesellschaft") resolved within ``jurisdiction``.
        An ambiguous one returns the candidate codes to choose from.
    entity_status: Entity filter — "ACTIVE" or "INACTIVE", as GLEIF records it.
    registration_status: Entity filter — the LEI record's status ("ISSUED",
        "LAPSED", "RETIRED"…; comma-separated for several). Not the
        company's status.
    category: Entity filter — "GENERAL", "BRANCH", "FUND", "SOLE_PROPRIETOR",
        "RESIDENT_GOVERNMENT_ENTITY" or "INTERNATIONAL_ORGANIZATION".
    nationality: Person filter — ISO 3166-1 alpha-2 nationality or citizenship.
    birth_year: Person filter — year of birth. A record with no birth date
        is not a match.

Returns candidate matches ranked best-first across every source — exact
name matches first, each tagged with ``match`` — with ``total`` and
``truncated`` saying whether more were found. Feed a candidate's ``lei`` to
``opencheck_lookup``. A candidate with ``lei: null`` and an entry in
``identifiers`` (a register scheme and number, e.g. GB-COH OC346224) is
looked up with ``opencheck_register_lookup`` instead. With a filter set,
only sources that can apply it are searched: ``filters.applied_by`` names
them and ``filters.left_out`` names the rest — read it before concluding
a company does not exist.

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": "opencheck_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoentity
limitNo
queryYes
categoryNo
birth_yearNo
legal_formNo
nationalityNo
jurisdictionNo
entity_statusNo
registration_statusNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety and open-world profile is covered. The description still adds substantial behavior: best-first ranking across sources, 'total'/'truncated' signalling, and the critical caveat that with a filter set only some sources are searched (filters.applied_by vs filters.left_out).

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 purpose sentence, then a scannable Args block whose lines each carry real information, then the return/routing paragraph. Slightly dense and repetitive in places (repeated ISO codes in jurisdiction, 'penultimate' clarifications) 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?

For a 10-parameter search with an output schema, the description covers query semantics, all filters, ranking and truncation behaviour, and the follow-up tool for each candidate type. An agent could invoke and interpret this correctly without further information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden, and it does: it defines kind, limit defaults/max, jurisdiction exactness ('DE' never returns Delaware), legal_form's ELF codes plus abbreviation resolution scoped to jurisdiction, entity_status as GLEIF records it, registration_status as the LEI record's status ('Not the company's status'), category enums, and birth_year semantics.

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?

Opens with a specific verb and resource: 'Find a company's Legal Entity Identifier (LEI) from a name or free text.' It distinguishes itself from siblings by naming opencheck_lookup and opencheck_register_lookup as the downstream steps for the two candidate shapes.

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?

Explicit routing: a candidate's 'lei' goes to opencheck_lookup, while a candidate with 'lei: null' plus 'identifiers' goes to opencheck_register_lookup instead. It also warns to read 'filters.left_out' before concluding a company does not exist, which is a real usage constraint, and explains that ambiguous legal_form input returns candidate codes to choose from.

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.