Skip to main content
Glama

Prawnet — Polish case law & legislation

Sprawdź cytaty w piśmie

sprawdz_pismo
Read-onlyIdempotent

Audyt cytatów projektu pisma lub opinii w jednym wywołaniu. Odczytuje z tekstu sygnatury orzeczeń, adresy Dz.U. / M.P. i odwołania do artykułów („art. 445 § 1 k.c.”, „art. 27 ust. 2 ustawy … (Dz. U. …)”) i sprawdza każde w bazie Prawnet. Sygnatury: znaleziono | cytowana | niejednoznaczne | inny_sad | brak (tylko TK i KIO) | poza_zakresem (nie wiemy) oraz zgodność cytatu w cudzysłowie z tekstem orzeczenia, gdy go mamy. Akty: czy adres jest w katalogu ELI, czy akt obowiązywał w dniu data_pisma, czy tekst jednolity jest aktualny. Artykuły: czy artykuł i jego § / ust. / pkt są w tekście aktu, czy przepis jest uchylony, pominięty lub utracił moc; dla 50 najczęściej cytowanych aktów także brzmienie w dniu data_pisma i późniejsze zmiany. Zwraca listy sygnatury, akty, artykuly i ostrzezenia (pozycja ze statusem i URL) i podsumowanie; status_orzeczenia (uchylone / zmienione). Bez AI; nie ocenia, czy cytat popiera tezę. Tekst nie jest zapisywany ani logowany. Koszt 1–10 jednostek: 1 na 5 sygnatur + 1 na 10 artykułów.

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": {
      "tekst": "<tekst>"
    },
    "name": "sprawdz_pismo"
  }
}

Input Schema

NameRequiredDescriptionDefault
tekstYesTekst pisma z cytatami (pozew, apelacja, opinia, odpowiedź asystenta), do 40 000 znaków; tylko w pamięci na czas wywołania
data_pismaNoRRRR-MM-DD, na który sprawdzić obowiązywanie aktów i brzmienie (pominięte = dziś); dodaje ostrzeżenie o orzeczeniach późniejszych

Output Schema

NameRequiredDescriptionDefault
statusNo
citationsNo
wersja_danychNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower, and the description still adds substantial context: no AI involvement, text neither stored nor logged, a cost model of 1–10 units with its per-item formula, and the reach of coverage (article wording only for the 50 most-cited acts). The one minor gap is that 'brak (tylko TK i KIO)' and 'poza_zakresem (nie wiemy)' need domain knowledge to interpret, but the description does signal their meaning.

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 purpose, then layered from inputs checked to outputs returned to cost, with each clause carrying information. It is dense and long, and the long enumeration of status tokens borders on schema repetition, but no sentence is filler.

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 two-parameter, read-only audit tool with an output schema already present and annotations covering safety, this description covers the remaining gaps an agent needs: scope of the audit, what is and is not verified, privacy of the input text, and cost. Nothing material for correct invocation 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 both parameters are documented there, so baseline is 3. The description does add meaning by repeatedly tying data_pisma to concrete check outcomes — act validity on that date, consolidated-text currency, article wording as of that date for the top 50 acts — which goes beyond the schema's one-line definition, but it never names the parameters explicitly.

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 — an audit of citations in a drafted pleading or opinion — done 'w jednym wywołaniu', which sets it apart from per-item siblings like sprawdz_sygnature. It then enumerates exactly what is extracted and checked (sygnatury, adresy Dz.U./M.P., odwołania do artykułów) and closes the scope with 'Bez AI; nie ocenia, czy cytat popiera tezę', so an agent knows it is a mechanical verifier, not an interpretive one.

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 opening clause makes the triggering context clear: you have a draft document containing citations and want them all checked at once. It also supplies a negative boundary (it does not judge whether a citation supports the argument), which routes interpretive questions elsewhere. What is missing is an explicit pointer to the single-citation or article-lookup siblings for narrower queries.

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