Skip to main content
Glama

Avokata: Lithuanian law & court practice

List acts registered in a date window

list_acts
Read-onlyIdempotent

EVERY held act (teisės aktas) the register REGISTERED between two dates, newest first, with the exact total and counts by issuer, page by page (next_cursor). Use it for 'what was published in TAR yesterday': new orders of a ministry (issuer='SADM'), the Government's resolutions, an inspectorate's rules. search_law RANKS provisions by a question; this lists acts by registration date. A window past the newest feed says so, and a window past the register feed's last change answers total null with total_at_least and incomplete (not covered yet, not 'nothing registered'); coverage_through names that edge.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_acts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoActs per page, default 50, at most 200; read on with `cursor` until next_cursor is empty.
cursorNoPass the previous answer's next_cursor to read the next page.
issuerNoOptional word of the issuing body as the register writes it: `SADM`, `Vyriausybė`, `darbo inspekcija` (case and accents ignored).
act_typesNoOptional act types: `Įsakymas`, `Nutarimas`, `Įstatymas` ... (a word of the type is enough).
jurisdictionsNoWhich jurisdictions to search, as codes. Held: `LT` (Lithuania), `EU` (European Union). Omit to search only the account's own; name every one the question needs. This lists one jurisdiction's register per call: name one, or call once per jurisdiction.
registered_toNoLast registration day (YYYY-MM-DD), inclusive; defaults to registered_from (one day).
registered_fromNoFirst registration day (YYYY-MM-DD) - the day the register (TAR) registered the act.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / session
      Removed value: -{
      -  "description": "The `session` value the sign-in returned. Pass it on every call in this conversation, so the sign-in survives however this client handles connections; omit it when the user connected with Sign in (OAuth) or a key.",
      -  "type": "string"
      -}
  2. Changed1 schema field changed
    • addedInput schema / properties / jurisdictions
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Which jurisdictions to search, as codes. Held: `LT` (Lithuania), `EU` (European Union). Omit to search only the account's own; name every one the question needs. This lists one jurisdiction's register per call: name one, or call once per jurisdiction.",
      +  "title": "Jurisdictions"
      +}
  3. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld=false, and the description adds real behavioral detail beyond them: windows past the newest feed respond explicitly, and windows past the register feed's last change return total null plus total_at_least and an `incomplete` flag with `coverage_through` marking the edge. This prevents the agent from misreading 'null' as 'nothing registered'. It stops short of 5 only because pagination termination and ordering are mentioned but the upstream feed lag semantics are compressed into one dense sentence.

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?

Front-loaded with the core statement before the alternative-tool comparison and the edge-case caveat, and no sentence is filler. The final coverage sentence is dense with backticked field names and takes a second pass to parse, which slightly hurts readability.

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?

With no output schema, the description carries the burden of describing returns and does so: ordering, counts by issuer, page-by-page next_cursor, and the degraded-coverage signaling fields. For a 7-parameter, fully schema-documented list tool, nothing an agent needs to call it correctly or interpret results 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?

Schema coverage is 100% and its parameter descriptions already cover limit/cursor paging, issuer matching (case and accents ignored), act_types, jurisdictions-per-call, and the registered_from/registered_to default. The description reinforces the date window as registration date and mentions issuer-based counting, but adds little meaning not already in the schema; baseline 3 applies.

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?

States a specific verb and resource (every held act the register REGISTERED), the date-window scope, ordering (newest first), and the return shape (total, counts by issuer, paged via next_cursor). It also explicitly contrasts with the sibling search_law (ranks provisions by a question vs. lists by registration date), so an agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

Gives a concrete use case ('what was published in TAR yesterday') with worked examples naming issuer values ('SADM', Government resolutions, inspectorate rules) and states the alternative (search_law) plus the condition that selects it. It also warns about windows beyond the feed, which is a when-not condition.

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.

Resources