Skip to main content
Glama

lt_search_in_act

Read-onlyIdempotent

Searches a specified Lithuanian legal act for provisions containing a word or phrase, returning matches with optional date filtering and diacritic-insensitive search.

Instructions

Find the provisions of one act whose wording contains a phrase.

Input Schema

NameRequiredDescriptionDefault
dateNoISO date - search the text in force that day (default: today).
limitNomax provisions (1..200, default 50).
queryYesword or phrase, case-insensitive (e.g. ``"darbo dienų"``, ``"asmens duomen"``).
tar_kodasYese.g. ``"1001010ISTAIII-1524"``.
ignore_diacriticsNoalso match without Lithuanian letters (``"duomenu"`` finds ``"duomenų"``).

Output Schema

NameRequiredDescriptionDefault
itemsNo
queryYes
staleNo
titleNo
totalNo
eli_uriNo
warningNo
eli_noteNoLithuania has no data.europa.eu ELI for the TAR dataset. eli_uri carries the canonical e-tar.lt legalAct URL (the stable national identifier), which is also the source_url.
cached_atNoWhen that stored copy was fetched.
tar_kodasNo
as_of_dateNo
source_urlNo
text_sourceNo
dataset_noteNoThe Lithuanian Register of Legal Acts (TAR) is served as open data via the data.gov.lt Spinta API (dataset gov/lrsk/teises_aktai: models Dokumentas, Suvestine, Priedas; CC BY 4.0). Acts are addressed by their TAR code (tar_kodas, e.g. '2014-21296'); discover acts with lt_search (matches the title). Consolidated editions (suvestines redakcijos) come from the Suvestine model, attachments (priedai) from the Priedas model. Language: Lithuanian.
retrieved_atNo
suvestines_idNo
content_sha256NoSHA-256 of the whole act text the provisions were parsed from.
edition_valid_toNo
ignore_diacriticsNo
served_from_cacheNoTrue when data.gov.lt failed and a stored copy was served instead.
source_fetched_atNoOldest fetch time of any source response used (cache incl.).
edition_valid_fromNo
human_readable_citationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds the key scoping trait (results are provisions of a single act, matched on wording) but says nothing about the date-versioned view, result limits/pagination, or what a match looks like.

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?

A single front-loaded sentence with no filler; every word earns its place. It is arguably too terse for a 5-parameter tool, but there is no structural waste.

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

Completeness3/5

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

An output schema exists and the schema fully documents parameters, so the description need not explain returns. What is missing is the relationship to the dense sibling set (lt_search, lt_get_provisions, lt_get_text) and the date-versioning behavior that materially affects results.

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

Parameters3/5

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

Schema coverage is 100%, so query, tar_kodas, date, limit, and ignore_diacritics are all documented with examples in the schema. The description adds no parameter detail beyond the general notion of matching a phrase, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource+scope: full-text phrase search restricted to the provisions of a single act (identified by tar_kodas). This is meaningfully narrower than a general search, so an agent can tell it is provision-level and act-scoped, though it never names the sibling tools it differs from.

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 only implied: 'one act' signals this is the tool for searching inside a known act, in contrast to the corpus-wide lt_search. There is no explicit when-to-use/when-not statement, no mention of preferring lt_search for multi-act queries, and no guidance on choosing between this and lt_get_provisions.

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