Skip to main content
Glama

TOP Įmonės - Lithuanian company registry (beta)

Find an entity by name, id, VAT number or LEI

resolve_entity
Read-onlyIdempotent

Resolve a name, a national id, a public id "CC:id", a VAT number or an LEI to up to 10 candidate entities (register identity only), each with its coverage tier and its public id ("LT:110053842"). Pass the two parts as country and id to get_entity and get_entity_history, the whole id to get_entity_series. Name pages carry meta.next_cursor; 200 candidates are reachable per query. An LEI needs no country (it is unique worldwide). Costs one identity disclosure per candidate; an id or identifier with no match counts one miss.

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": {
      "q": "<q>"
    },
    "name": "resolve_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesA name (words of 3+ characters, any case, diacritics optional), a national id, a public id "CC:id", a VAT number or an LEI.
cursorNometa.next_cursor of the previous page, with the same q and country.
countryNoISO 3166-1 alpha-2. Required unless q is a full public id "CC:id" or an LEI (an LEI is unique worldwide).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / country / description
      Previous value: -"ISO 3166-1 alpha-2. Required unless q is a full public id \"CC:id\"."New value: +"ISO 3166-1 alpha-2. Required unless q is a full public id \"CC:id\" or an LEI (an LEI is unique worldwide)."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: 10 candidates per page, 200 reachable per query via meta.next_cursor, coverage tier returned per candidate, the id format "LT:110053842", and that an LEI needs no country. It also discloses the metering model (one disclosure per candidate, unmatched ids count as a miss), which is the kind of cost behavior an agent cannot infer from annotations.

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 verb and accepted inputs, then pagination, then the handoff, then cost — a sensible priority order with no filler sentences despite heavy density. The many inline quoted formats and parentheticals make it slightly cramped to scan, which keeps it off a 5.

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, yet the description still usefully names the returned fields (coverage tier, public id) and the pagination token, plus quotas, cost, and the country exemption rule. For a 3-parameter resolution front-door tool, nothing an agent needs to call it correctly 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 baseline is 3, but the description adds real meaning: it explains why country is sometimes optional (LEI is unique worldwide), what the "CC:id" string decomposes into, and how the parts feed other tools. That is genuine semantic value beyond the field-level descriptions.

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 (resolve) plus the exact input forms accepted (name, national id, "CC:id", VAT, LEI) and the outcome (up to 10 candidate entities, register identity only, with coverage tier and public id). The scope qualifier "register identity only" and the explicit downstream handoff separate it from get_entity and get_entity_series without needing their schemas.

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 clear operational routing: split the public id into country and id for get_entity/get_entity_history, pass the whole id to get_entity_series, and use cursor pages to go past the first 10. It also flags the cost consequence (one identity disclosure per candidate, misses count). What it lacks is an explicit exclusion — it never says when to prefer search_entities or get_coverage instead.

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.