Skip to main content
Glama

jar_search

Read-onlyIdempotent

Search Lithuania's Register of Legal Entities by partial name or code to retrieve company code, legal form, status, and registration date; optionally include deregistered entities.

Instructions

Legal entities in Lithuania's Register of Legal Entities (Registrų centras' open data): companies, partnerships, associations, public bodies, found by a part of their name, in any case, or by their code. Up to 20, each with its code, name, legal form and legal status in Lithuanian, and registration date. Entities that left the register are left out unless asked for; searched by its code, one is answered whether or not it left. One entity's card is jar_company.

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

Input Schema

NameRequiredDescriptionDefault
limitNoEntities to answer, 1 to 20; 10 when left out.
queryYesA part of the name, such as "telia" or "vilniaus vandenys", or the code, such as 121215434.
include_deregisteredNoAlso entities that left the register (liquidated, merged, deregistered); false when left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open-world), so the description's added value is the result shape (up to 20 hits with code, name, legal form, legal status in Lithuanian, registration date) and the deregistration filter semantics. The code-search exception is a genuinely useful behavioral detail not present in annotations. It stops short of describing match ranking or what happens with zero results.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences with no filler, but the phrasing is awkward and occasionally ungrammatical ('searched by its code, one is answered whether or not it left'), which slows parsing of an important edge case. The register name, parenthetical, and entity-type enumeration in the first sentence are heavier than needed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and annotations that only cover safety, the description carries the return-value burden and does so reasonably well: result count, returned fields, and the deregistration default are all stated. What an agent still cannot predict is result ordering or behavior on an empty match set.

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, but the description adds real meaning: name matching is case-insensitive ('in any case') and the code search bypasses the include_deregistered filter entirely. Those clarifications go beyond the schema text and materially affect how the agent should combine parameters.

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?

The description names the specific verb and resource (finding legal entities in Lithuania's Register of Legal Entities) plus the two search keys (partial name in any case, or code). It also explicitly distinguishes itself from the sibling by stating 'One entity's card is jar_company', so an agent can route between the two without opening either schema.

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?

It gives the sibling alternative (jar_company for a single entity's card) and states the default exclusion of deregistered entities, including the exception when searching by code. What is missing is an explicit statement of when this tool is the wrong choice beyond that single sibling pointer, but the context is clear enough to act on.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools