Skip to main content
Glama

Avokata: Lithuanian law & court practice

Instance chain of a case

instance_chain
Read-onlyIdempotent

One matter from first instance through appeal to cassation (pirmoji / apeliacinė / kasacinė instancija): the held rulings (nutartys) grouped by proceeding number (teisminio proceso numeris), in date order with each court's level. Use it to see what later happened to a judgment, or which lower decisions a cassation ruling reviewed. Pass case_no for one judgment or proceeding_no when you have the register number. Finality is not inferred: the answer says unknown when the held rulings do not show it, and a ruling the corpus does not hold is missing from the chain. For citations between different cases use cited_by and citations_of. Example arguments: {"case_no": "e3K-3-117-823/2023"}.

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": "instance_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
case_noNoOne judgment's case number (e.g. `e3K-3-117-823/2023`). Returns every held ruling in that proceeding, ordered by date and court level. Omit when you pass `proceeding_no`.
jurisdictionNoWhich jurisdiction to search, as a code. Held: `LT` (Lithuania), `EU` (European Union). Omit for the account's own.
proceeding_noNoThe teisminio proceso numeris (e.g. `1-01-2-00032-2021-4`) when you already have it. Returns the whole held chain for that matter. Omit when you pass `case_no`.

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
    • changedInput schema / properties / jurisdiction / description
      Previous value: -"Which jurisdiction to search (`LT`). Omit for the account's own."New value: +"Which jurisdiction to search, as a code. Held: `LT` (Lithuania), `EU` (European Union). Omit for the account's own."
  3. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description's added value is coverage disclosure: finality is not inferred and the answer returns `unknown` when the held rulings do not establish it, and rulings absent from the corpus are missing from the chain. That is genuinely useful context about result completeness, though it does not describe output shape or ordering tie-breaks in more detail.

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 definition, then usage, then parameter routing, then a limitation, then an example — a sensible order with little waste. The parenthetical Lithuanian court-level terms and the limitations clause both earn their space, though the paragraph is dense enough that an agent must read it all.

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 three-parameter, no-output-schema read tool, the description covers what is returned (held rulings grouped by proceeding number, date order with court level), the limits of that return (missing rulings, `unknown` finality), and how to enter it. Nothing material is left for the agent to guess.

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 coverage is 100%, so the schema already documents all three parameters; the description goes slightly beyond by pairing case_no and proceeding_no as mutually exclusive entry points and supplying a worked example argument. The jurisdiction parameter is left entirely to the schema, which is acceptable given full coverage.

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 concrete verb and resource: it assembles one matter's chain of rulings from first instance through appeal to cassation, grouped by teisminio proceso numeris and ordered by date and court level. It explicitly distinguishes itself from sibling tools citations_of and cited_by, which cover cross-case citations rather than the chain within a single matter.

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?

Names two concrete use cases (what later happened to a judgment; which lower decisions a cassation ruling reviewed) and routes the agent on parameter choice: case_no for one judgment, proceeding_no when the register number is known. It also states the exclusion explicitly — for citations between different cases use cited_by and citations_of.

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