Skip to main content
Glama

Avokata: Lithuanian law & court practice

What this document cites

citations_of
Read-onlyIdempotent

What one document or article relies on (cituoja): the acts (įstatymai) and earlier rulings (nutartys) it cites, each with its pinpoint, court and date and the citing sentence so you can check it. Use it to follow a ruling's reasoning back to its sources; for the reverse direction (which later rulings cite this act, article or ruling) use cited_by. It lists citations, not agreement: whether the court followed or distinguished a source is not determined, so read the passage with read_paragraphs. The set is a slice: check provisions_total before concluding a source is absent. Pass the search hit id: an article id (with #) asks about that article, a document id about the whole document. Example arguments: {"document_id": "<document_id or article id from a result>", "limit": 10}.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "document_id": "<document_id>"
    },
    "name": "citations_of"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many edges to return, default 25. Read `provisions_total` beside the answer before concluding something is absent: the returned set is a slice, not the population.
detailNo`compact` (the default) keeps each edge's identity, pinpoint, court and date whole and cuts `quote` (the citing sentence) to ~300 characters, with `quote_chars` giving its full length. `full` returns every quote whole.compact
offsetNoSkip this many edges of the (filtered) set, which is served in the same order on every call; the `next_calls` steps set it for you.
relationNoKeep only edges of these relations: `cites_act` (acts and their articles), `cites_ruling` (other rulings), `cites_self` (the document's own provisions) - one or several. Every answer's `relations` counts each relation over the whole edge set; when a relation's rows did not all reach the page, `next_calls` holds the call that reads them.
max_charsNoA hard cap on the answer's size in characters, default 15000. Every row is first narrowed (a ~150-character excerpt), then rows are dropped from the end (the lowest-ranked) to fit, and `truncated` says how many and how to get them; data_as_of, notes and caveats are never cut.
document_idYesWhose citations to list. An ARTICLE id (the search hit `id`, containing `#`) asks what that article relies on; a document id asks about the whole document. There is no `pinpoint` parameter - the article is named by the id.
jurisdictionNoWhich jurisdiction the id belongs to, as a code. Held: `LT` (Lithuania), `EU` (European Union). Omit for the account's own.

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. Changed2 schema fields changed
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Skip this many edges of the (filtered) set, which is served in the same order on every call; the `next_calls` steps set it for you.",
      +  "title": "Offset",
      +  "type": "integer"
      +}
    • addedInput schema / properties / relation
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Keep only edges of these relations: `cites_act` (acts and their articles), `cites_ruling` (other rulings), `cites_self` (the document's own provisions) - one or several. Every answer's `relations` counts each relation over the whole edge set; when a relation's rows did not all reach the page, `next_calls` holds the call that reads them.",
      +  "title": "Relation"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / jurisdiction / description
      Previous value: -"Which jurisdiction the id belongs to (`LT`). Omit for the account's own."New value: +"Which jurisdiction the id belongs to, as a code. Held: `LT` (Lithuania), `EU` (European Union). Omit for the account's own."
  4. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare a safe, idempotent, closed read, so the bar is lower, yet the description still adds substantive behavior: the result is a slice of the whole edge set, relation counts cover the full set, `next_calls` carries follow-up pagination, and `max_chars` truncation drops lowest-ranked rows while preserving caveats. It also flags a semantic limit — it lists citations, not agreement — that an agent could otherwise easily misread.

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?

The definition is front-loaded with purpose, then alternatives, then caveats, then argument guidance, in a logical order. It is dense but nearly every sentence carries routing or behavioral information; the parenthetical Lithuanian glosses (cituoja, įstatymai, nutartys) add minor noise for most agents.

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 seven-parameter tool with no output schema, the description covers the essential unknowns: what each returned edge contains, that pagination is deterministic and assisted by `next_calls`, that results are a truncatable slice, and how article versus document ids select scope. An agent has enough to invoke it correctly and interpret the answer.

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 baseline is 3, but the description adds meaning beyond it: it explains that an article id (containing `#`) targets that article while a document id targets the whole document, and explicitly notes there is no `pinpoint` parameter because the article is named by the id. It also supplies an example argument object, though it does not further elaborate `relation` or `jurisdiction` beyond the schema.

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 ("what one document or article relies on: the acts and earlier rulings it cites") and immediately distinguishes it from the reverse-direction sibling `cited_by`. It also clarifies the output identity (pinpoint, court, date, citing sentence), so an agent knows exactly what this tool produces without opening the 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?

Explicit routing: use this to follow a ruling's reasoning back to its sources, use `cited_by` for the reverse direction, and use `read_paragraphs` when the question is whether a source was followed or distinguished. It also warns to check `provisions_total` before concluding absence, which is a concrete usage precondition rather than vague advice.

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