Skip to main content
Glama

Avokata: Lithuanian law & court practice

List all matching rulings

list_practice
Read-onlyIdempotent

EVERY held ruling (nutartis) matching structured filters - court level (teismo instancija), court, date range, topic, case type - newest first, with the exact total and counts by level and year, page by page to the end (next_cursor). Use it when the job is 'all of them': all regional labour rulings since a date, every Constitutional Court ruling of a year. Every row says the ruling's outcome (granted, dismissed, partly, remanded...) with its operative words; outcome lists only the rulings decided that way. search_practice RANKS passages by a question and stops at a limit; this lists. At least one filter is required.

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_practice"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRulings per page, default 50, at most 200. Every page states the exact total.
topicNoA branch of the courts' own case classifier, e.g. `labour`. Rulings with no topical code cannot be judged by it; the answer counts them under `withheld`.
courtsNoNamed courts, written as the court names itself, e.g. `Vilniaus apygardos teismas`.
cursorNoThe `next_cursor` of the previous page, with the same filters. Omit for the first page.
includeNoBring back what is left out by default, e.g. `cassation_admission` (the Supreme Court's rulings on whether to accept an appeal).
outcomeNoKeep rulings whose operative part decides this way: `granted`, `partly`, `dismissed`, `remanded`, `not_admitted`, `terminated`; for constitutional review `unconstitutional`, `partly_unconstitutional`, `constitutional` (one or several) - e.g. sort the Supreme Court's practice into appeals granted and dismissed. Read from each ruling's own operative words (`outcome.quote` on every row, listed with or without this filter); rulings it could not read are counted under `withheld`. At most 1,000 rulings are read per call: narrow by date or court above that.
categoryNoThe court's own category code; a prefix lists everything under it (`43.5`).
case_typesNoKind of case: `civil`, `criminal`, `administrative`, `administrative_offence`.
court_levelNoWhich level of the court hierarchy to list: `supreme`, `appeal`, `regional`, `district`, `supreme_administrative`, `regional_administrative`, `constitutional` (one or several).
decided_afterNoOnly rulings decided on or after this date, `YYYY-MM-DD`.
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 rulings per call: name one, or call once per jurisdiction.
decided_beforeNoOnly rulings decided on or before this date, `YYYY-MM-DD`.

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 rulings per call: name one, or call once per jurisdiction.",
      +  "title": "Jurisdictions"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / outcome / description
      Previous value: -"Keep rulings whose operative part decides this way: `granted`, `partly`, `dismissed`, `remanded`, `not_admitted`, `terminated` (one or several) - e.g. sort the Supreme Court's practice into appeals granted and dismissed. Read from each ruling's own operative words (`outcome.quote` on every row, listed with or without this filter); rulings it could not read are counted under `withheld`. At most 1,000 rulings are read per call: narrow by date or court above that."New value: +"Keep rulings whose operative part decides this way: `granted`, `partly`, `dismissed`, `remanded`, `not_admitted`, `terminated`; for constitutional review `unconstitutional`, `partly_unconstitutional`, `constitutional` (one or several) - e.g. sort the Supreme Court's practice into appeals granted and dismissed. Read from each ruling's own operative words (`outcome.quote` on every row, listed with or without this filter); rulings it could not read are counted under `withheld`. At most 1,000 rulings are read per call: narrow by date or court above that."
  4. Changed1 schema field changed
    • addedInput schema / properties / outcome
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Keep rulings whose operative part decides this way: `granted`, `partly`, `dismissed`, `remanded`, `not_admitted`, `terminated` (one or several) - e.g. sort the Supreme Court's practice into appeals granted and dismissed. Read from each ruling's own operative words (`outcome.quote` on every row, listed with or without this filter); rulings it could not read are counted under `withheld`. At most 1,000 rulings are read per call: narrow by date or court above that.",
      +  "title": "Outcome"
      +}
  5. Added
  6. Removed
  7. Added

TDQS

A4.9/5.0
Behavior5/5

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

The annotations already declare read-only, idempotent, non-destructive, and closed-world behavior. The description adds meaningful traits beyond those: pagination via next_cursor, exact totals and counts by level and year, per-row outcome quotes, outcome filtering, withheld counts for unread or uncoded rulings, and a 1,000-ruling read cap per call.

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?

The description is front-loaded with scope and exhaustive-list purpose, then compactly covers sibling contrast, outcome behavior, and pagination. Despite the tool's complexity, the wording is dense and every sentence contributes.

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?

For a 12-parameter listing tool with no output schema, the description explains the return shape enough: rows include outcome quotes, results report exact totals and counts by level and year, and next_cursor enables paging. The annotations cover safety and side-effect behavior, so nothing essential is missing.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description still adds useful meaning beyond the schema by tying filters to exhaustive listing, explaining cursor usage across pages, clarifying outcome and withheld semantics, and stating the at-least-one-filter rule and 1,000-ruling cap.

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?

The description states a specific verb and resource: listing every held ruling matching structured filters, with ordering and pagination. It explicitly distinguishes this from search_practice, which ranks passages by a question and stops at a limit.

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?

It gives clear when-to-use guidance with concrete examples ('all regional labour rulings since a date', 'every Constitutional Court ruling of a year') and names search_practice as the alternative with a different behavior. It also states the prerequisite that at least one filter is required.

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