Skip to main content
Glama
mcp-saos

mcp-saos

by pwasniowski

saos_cite_check

Read-onlyIdempotent

Check whether a Polish court judgment is still cited or has been overruled by finding later citing judgments and flagging language that departs from the earlier ruling.

Instructions

Citator 'czy wyrok zyje': dla podanej sygnatury szuka POZNIEJSZYCH orzeczen, ktore ja cytuja (pelnotekstowo w SAOS), i skanuje ich uzasadnienia pod frazy przelamania linii orzeczniczej (np. 'odstepuje od pogladu wyrazonego', 'nie podziela pogladu', 'traci moc uchwala', 'uchwala skladu siedmiu sedziow') w oknie ~500 znakow wokol wystapienia sygnatury. Werdykt: przelamanie_wykryte / uchwala_skladu_powiekszonego / nadal_cytowany / brak_cytowan_w_saos. To heurystyka - kazde trafienie ma fragment tekstu do recznej weryfikacji, a brak trafien NIE potwierdza aktualnosci orzeczenia. Bledy: missing_arg (nieczytelna sygnatura), invalid_court_type, upstream_error.

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": {
      "caseNumber": "<caseNumber>"
    },
    "name": "saos_cite_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxScanNoIle cytujacych orzeczen przeskanowac w pelnym tekscie (1-20, domyslnie 8). Priorytet: SN > uchwaly > najnowsze.
deepScanNoCzy pobierac pelne teksty cytujacych orzeczen (domyslnie true). false = tylko szybki skan snippetow z wyszukiwarki.
courtTypeNoOpcjonalnie: typ sadu orzeczenia badanego - sygnatury powtarzaja sie miedzy sadami, to doprecyzowuje ktore orzeczenie sprawdzamy.
caseNumberYesSygnatura akt orzeczenia do sprawdzenia, np. 'III CZP 6/21'. Moze byc czescia zdania ('uchwala SN z 7.05.2021 r., III CZP 6/21').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.1

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnly, openWorld, idempotent, non-destructive), the description discloses that matching is a ~500-character-window heuristic over full text, enumerates the four possible verdicts, requires manual verification of each hit's text fragment, and lists the three error codes (missing_arg, invalid_court_type, upstream_error). That is precisely the behavioral context annotations cannot carry.

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?

A single dense paragraph, front-loaded with the search-then-scan operation before the verdict vocabulary, caveats and error codes. Nearly every clause earns its place, though the enumeration of example trigger phrases is slightly heavier than needed for selection purposes.

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?

There is no output schema, and the description compensates by naming the verdict enum, describing the returned text fragment per hit, and stating the heuristic's limitation. For a tool of this complexity that is everything an agent needs before invoking it.

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%, so the baseline is 3; the schema already explains maxScan, deepScan, courtType and caseNumber in detail. The description adds only the missing_arg failure mode tied to an unreadable signature, on top of what the parameters already document.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a precise operation: given a case number, find LATER judgments citing it in SAOS and scan their reasoning for overruling phrases. That verb+resource combination is unmistakable and unlikely to be confused with retrieval siblings such as get_judgment or search_by_case. It stops short of explicitly contrasting itself with any sibling, which is the only thing keeping it from a 5.

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

Usage Guidelines4/5

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

The implied use case (checking whether a judgment is still good law) is clear, and the description goes further by warning that the result is a heuristic and that 'no hits does NOT confirm the judgment is still current' — a genuine usage constraint. It offers no explicit when-not-to-use rule or named alternative tool, so it falls short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools