Skip to main content
Glama

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

List entities by filters

search_entities
Read-onlyIdempotent

To find one entity from a name or an id use resolve_entity; this lists many. Identity rows of entities matching filters: name words, legal form, status and registration window on the register; score_risk and vat_registered where the country has them and their source is licensed. A narrowing filter is required (a name word, or a legal form or status - not every status - with a registration window of whole calendar years, at most 5). Up to 20 rows a page, 200 per filter set, no totals; person-like legal forms are never listed. Costs one identity disclosure per row, plus one detail disclosure per row (at least one) with score_risk; an empty page with no next cursor counts one miss. legal_form also takes the common national abbreviation of a form. Identity filters all run before paging, so a page of identity filters is empty only at the end of the matches.

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": {
      "country": "<country>"
    },
    "name": "search_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName words (3+ characters each, any case, diacritics optional).
cursorNometa.next_cursor of the previous page, with the same filters.
statusNoRegister statuses.
countryYesISO 3166-1 alpha-2 country code, any case (e.g. "LT").
page_sizeNoRows per page, 1-20 (at most 10 with an enriched filter).
legal_formNoLegal forms: national labels or ISO 20275 ELF codes, as lookup_code kind=legal_form lists them, or the common national abbreviation of a form (lookup_code kind=legal_form with q set to it shows the form it names).
score_riskNoEnriched filter: published score risk level. Costs one detail disclosure per row.
registered_toNoRegistered on or before this date (YYYY-MM-DD). Without name it must be 31 December (YYYY-12-31), at most 5 calendar years after registered_from.
vat_registeredNoEnriched filter: registered VAT payer now (true) or not / unknown (false).
registered_fromNoRegistered on or after this date (YYYY-MM-DD). Without name it must be 1 January of a year (YYYY-01-01).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / legal_form / description
      Previous value: -"Legal forms: national labels or ISO 20275 ELF codes, as lookup_code kind=legal_form lists them."New value: +"Legal forms: national labels or ISO 20275 ELF codes, as lookup_code kind=legal_form lists them, or the common national abbreviation of a form (lookup_code kind=legal_form with q set to it shows the form it names)."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond annotations (readOnly/idempotent), it discloses a cost model absent from any structured field: one identity disclosure per row, an extra detail disclosure per row when score_risk is used, and one miss for an empty page with no next cursor. It also adds hard caps (20 per page, 200 per filter set, no totals, max 10 rows with an enriched filter) and a pagination invariant (identity filters run before paging, so an empty page only occurs at the end).

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 sibling contrast, and nearly every clause carries operational information. The telegraphic, semicolon-chained phrasing ('not every status', 'plus one detail disclosure per row (at least one) with score_risk') is dense enough that a reader may need to re-parse a clause.

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 filtered list tool with an output schema available, the description covers the alternative, the preconditions, the caps, the cursor contract, the exclusion rule, and the cost implications. Nothing an agent needs to call it correctly or avoid surprise charges 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 above that by stating cross-parameter constraints the schema can't express — the required narrowing combination, whole-calendar-year windows with a 5-year span, the enriched-filter page-size reduction, and that an empty identity page means the matches are exhausted. It leaves the exact billing unit of a 'miss' or 'disclosure' to inference.

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 concrete verb and resource ('this lists many', 'Identity rows of entities matching filters') and immediately contrasts it with the sibling 'resolve_entity' for single-record lookup. Additional scope detail (person-like legal forms never listed, no totals) makes the boundary unmistakable.

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?

Explicitly routes the agent: use resolve_entity for one entity from a name or id, use this to list many. It also states the selection precondition ('A narrowing filter is required') and gives the exact accepted combinations (a name word, or a legal form or status with a whole-calendar-year registration window of at most 5).

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.