Skip to main content
Glama

lt_get_text

Read-onlyIdempotent

Fetches the full Lithuanian text of a legal act by TAR code, returning the consolidated edition in force today or the newest/original text when no current edition exists.

Instructions

Fetch the full Lithuanian text of an act by its TAR code - the version in force today.

Returns the consolidated edition (suvestine redakcija) in force today when the source has one; otherwise the newest consolidated edition flagged stale; otherwise the act's original text. text_source says which.

Input Schema

NameRequiredDescriptionDefault
tar_kodasYese.g. ``"2014-21296"``.

Output Schema

NameRequiredDescriptionDefault
staleNo
titleNo
formatNotext/plain
contentNo
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.
byte_sizeNo
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_sha256No
edition_valid_toNo
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

A3.6/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 genuinely new behavior: the edition-selection fallback and the fact that a 'stale' flag plus a text_source field signal which edition was returned. However, output-shape details are left to the output schema, so the added context is moderate rather than rich.

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?

The core statement is front-loaded in the first sentence, and the following sentences explain the edition priority and the text_source signal. Slightly dense with internal terminology ('suvestine redakcija', 'stale') but each clause carries decision-relevant information.

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 an output schema present and annotations covering safety, the description only needs to explain retrieval semantics — which it does via the explicit edition-priority chain and the text_source indicator. Complete enough to invoke correctly; only the sibling-selection guidance is missing.

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?

There is a single required parameter whose schema description already carries 100% coverage, so the schema does the heavy lifting. The description only restates that lookup is by TAR code and adds no format guidance beyond the schema's example value.

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 and resource ('Fetch the full Lithuanian text of an act') plus the identifier type (TAR code) and the temporal scope ('version in force today'). It implicitly separates itself from siblings like lt_get_edition_text or lt_get_provision by promising the whole act's current text, but it never names an alternative explicitly.

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?

The fallback chain (consolidated in force today → newest stale consolidated edition → original text) tells the agent exactly what it will get in each situation, which is strong decision-support. It stops short of saying when to prefer a sibling such as lt_get_edition_text for a historical version.

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