Skip to main content
Glama

lt_diff_editions

Read-onlyIdempotent

Compare two consolidated editions of a Lithuanian act to identify changes in legal provisions between dates.

Instructions

Compare the provisions of an act between two dates (two consolidated editions).

Input Schema

NameRequiredDescriptionDefault
to_dateNoISO date of the newer wording (default: today).
from_dateYesISO date of the older wording (e.g. the date a document was prepared).
tar_kodasYese.g. ``"1001010ISTAIII-1524"``.

Output Schema

NameRequiredDescriptionDefault
addedNo
itemsNo
titleNo
changedNo
eli_uriNo
removedNo
to_dateNo
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.
from_dateNo
tar_kodasNo
unchangedNo
source_urlNo
to_editionNo
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.
from_editionNo'valid_from..valid_to'.
retrieved_atNo
same_editionNo
to_suvestines_idNo
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.).
to_content_sha256No
from_suvestines_idNo
from_content_sha256No
human_readable_citationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds the useful domain detail that the two dates correspond to consolidated editions, but says nothing about behavior when an edition doesn't exist for a date, or how the diff is presented.

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

Conciseness5/5

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

A single front-loaded sentence that carries the verb, scope and the edition semantics with zero filler. Nothing could be removed without losing information.

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?

With an output schema present and full parameter documentation, most structural information is elsewhere, so the description doesn't need to explain return values. However, for a diff tool it leaves open edge-case behavior (identical dates, missing editions) that an agent might need before calling.

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 description coverage is 100%, so each parameter is already documented (including the to_date default of today). The description only reinforces that the two dates denote consolidated editions, which adds marginal meaning beyond the schema — baseline 3.

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 ("Compare") and resource ("the provisions of an act") with a clear scope ("between two dates"). It is readily distinguishable from siblings such as lt_get_edition_text or lt_list_editions, though 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 Guidelines3/5

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

The comparative framing implies when the tool is appropriate (you want a before/after view across two editions), but there is no explicit when-to-use, when-not-to-use, or named alternative. The agent must infer that a single-edition read should use lt_get_edition_text instead.

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