Skip to main content
Glama

Atviri teisės aktai – Lithuanian law

find_definition

Read-only

Where a term is legally defined, in every act on the site: the term, its alias ("toliau – …"), the definition text, the act and article/part with a link, and the article's status today. Inflection-tolerant ("vartotojo objektas" = "vartotojo objektą"). The same word often means different things in different acts ("vartotojas" in EĮ, EEĮ, GDĮ, VTAĮ): all are returned, plus narrower terms ending in it ("elektros energijos vartotojas").

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": {
      "term": "<term>"
    },
    "name": "find_definition"
  }
}

Input Schema

NameRequiredDescriptionDefault
actNoOptional: the meaning in this act (key, abbreviation, TAR code or name). If the act does not define the term itself but says its terms are understood as defined in other acts ("sąvokos suprantamos taip, kaip jos apibrėžtos … įstatyme"), those acts' definitions are returned, with the sentence in by_reference
termYesA word or phrase: "vartotojo objektas", "bešeimininkis daiktas"
limitNoHow many definitions, at most 50 (default 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / limit / description
      Added value: +"How many definitions, at most 50 (default 20)"
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

The readOnlyHint already declares this a safe read, so the description's job is added context, and it delivers: exhaustive multi-act scope, inflection tolerance, automatic inclusion of narrower terms, and the by_reference referral behaviour. It stops short of describing result ordering, truncation signalling when the limit is hit, or what an empty result means, which keeps it off a 5.

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?

Three sentences, front-loaded with the core purpose and return contents, with parenthetical examples that earn their place. The first sentence is dense and comma-laden, but no sentence is padding.

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?

There is no output schema, so the description must carry the return shape, and it does precisely: term, alias, definition text, act and article/part with link, plus the article's current status. Combined with the act-referral explanation, an agent has everything needed to call this correctly and interpret the response.

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 increment by stating that term matching is inflection-tolerant and by explaining the semantic expansion ('all are returned, plus narrower terms ending in it') that the schema does not convey. The act parameter's referral behaviour is largely duplicated from the schema rather than extended.

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 opening clause states a specific verb and resource: 'Where a term is legally defined, in every act on the site', followed by an enumeration of exactly what is returned. It is clearly distinguishable from list_acts, get_article and search_law because it targets term definitions across acts rather than acts, articles or full-text hits.

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

Usage Guidelines3/5

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

Usage is strongly implied by the purpose statement (call this when you need a legal definition rather than an article's text), and the act-parameter paragraph explains the referral case in which definitions are pulled from other acts. However, no sibling tool is named and there is no explicit when-not-to-use guidance, leaving the agent to infer that search_law is the fallback for non-definition lookups.

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.