MCP server for the Lithuanian Register of Legal Acts (TAR) via the data.gov.lt open-data API - search and fetch Lithuanian legislation with verifiable citations.
Four well-named tools with clear, actionable descriptions (avg 85 chars). All tools have complete input schemas with type definitions and parameter descriptions. Tool names follow verb_noun pattern (lt_search, lt_get_act, lt_get_text, lt_coverage). Descriptions explain WHAT, WHEN, and expected output. Parameters are constrained (limit 1-200, doc_type validated). Error handling is structured with [code] prefixes and recovery guidance in INSTRUCTIONS. Output schemas are documented in code (SearchResult, Act, LawText models). Main gaps: no pagination support for search results (limit capped at 200 but no cursor/offset), no batch operations, and response field naming could be more explicit in schema docs. Tool annotations present (readOnlyHint, idempotentHint). Audit logging implemented. Follows 40+ of 54 patterns.
Declare what this connector covers, how it is sourced, and what it does NOT cover.
Fetch Lithuanian act metadata by its TAR code.
Fetch the full Lithuanian text of an act by its TAR code.
Search Lithuanian acts whose title contains a substring.
Search results lack pagination (no cursor, offset, or next_token). Limit capped at 200 but no mechanism to iterate beyond first batch. Large result sets risk context window exhaustion.
Output schemas (SearchResult, Act, LawText) are defined in models.py but not explicitly documented in tool docstrings. LLMs cannot see the return type structure without reading implementation code.
No batch variants. If an agent needs to fetch text for 10 acts, it must call lt_get_text 10 times sequentially. A batch_get_text(tar_kodas_list) would reduce latency and token waste.
Error handling returns structured [code] errors but does not include the invalid value in the error message for invalid_arg cases. E.g., 'limit out of range' should say 'limit=250 out of range (1-200)'.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 67 | 2026-07-28+ | v2 |
doc_type parameter accepts free-form strings with instruction to 'match exact Lithuanian spelling' but no enum constraint. LLMs will hallucinate invalid doc_type values. Should define enum: ['Istatymas', 'Isakymas', ...].