Skip to main content
Glama

Prawnet: Polish case law and 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. Bez AI; nie ocenia, czy cytat popiera tezę. Tekst nie jest zapisywany ani logowany. Wywołanie zużywa 5 jednostek limitu.

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 readOnlyHint, idempotentHint, non-destructive and openWorldHint=false, so the safety profile is covered. The description still adds materially beyond them: 'Tekst nie jest zapisywany ani logowany', 'Wywołanie zużywa 5 jednostek limitu', and a precise catalogue of status values including the 'brak (tylko TK i KIO)' and 'poza_zakresem (nie wiemy)' limitations.

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 moves through scope, status vocabulary, output shape, limits and cost. Dense but every clause carries information; the long parenthetical enumeration of status labels is the only mildly heavy portion.

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 read-only single-call auditor with an output schema, the description supplies what structured fields cannot: cost in quota units, privacy handling, the 'no AI judgement' boundary, and the exact list of returned collections. Nothing an agent needs to decide to call it or interpret a refusal/absence status 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%, so both parameters are already documented in the input schema; the description only reiterates that data_pisma governs the date for act validity and consolidated-text currency. That adds little beyond what the schema's own parameter descriptions say, so the baseline 3 applies.

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?

Opens with a specific verb+resource: 'Audyt cytatów projektu pisma lub opinii w jednym wywołaniu', then enumerates exactly what is audited (sygnatury, adresy Dz.U./M.P., odwołania do artykułów) and what is checked in the Prawnet database. The single-call, batch nature of the audit sets it apart from narrower siblings such as sprawdz_sygnature without the agent needing to open a schema.

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 use case (auditing citations in a draft pleading/opinion) is clear, and an explicit exclusion is stated: 'Bez AI; nie ocenia, czy cytat popiera tezę'. No sibling is named as an alternative for single-citation checks, which is the only real gap.

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