Skip to main content
Glama

Prawnet — Polish case law & legislation

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Prawnet: Polish case law and legislation. If you published it, claim ownership there.

Analiza przepisu w jednym wywołaniu

analiza_przepisu
Read-onlyIdempotent

Dane o jednym artykule w jednej odpowiedzi, sześć niezależnych części (każda ze statusem: ok, brak_danych, blad, przekroczono_czas): brzmienie (tekst aktualny albo na dzień data, do 1500 znaków, z podsumowaniem historii brzmień, gdy ją mamy), wiodace (5 orzeczeń o najwyższym autorytecie cytowaniowym, z losem i liczbą cytowań), rozstrzygniecia (rozkład rozstrzygnięć osobno dla każdej instancji), powiazane (5 artykułów najsilniej współcytowanych, n_razem ≥ 100, a gdy takich par nie ma — ≥ 20; przykład dla par ≥ 100), trend (ostatnie 8 lat i z-score ostatniego pełnego roku) i rozbieznosc (flaga SN vs SA/SO z przykładami); osobno apelacja (jak kończą się apelacje w opublikowanych wyrokach II instancji i znane losy). Każda statystyka ma n, okres i opis metody. Odpowiedź w mniej niż 20 s; część, która się nie zmieści, ma status przekroczono_czas. Pomiar w grafie Prawnet, nie komentarz doktryny.

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

Input Schema

NameRequiredDescriptionDefault
pNoBez przepis: POZYCJA w Dz.U., nie numer (k.c. 1964/93)
yNoBez przepis: rok Dz.U.
artNoBez przepis: nr artykułu ("385-1" = 385¹), do 16 znaków
dataNoRRRR-MM-DD: brzmienie z tego dnia (historia dla 50 najczęściej cytowanych aktów (główne kodeksy, Konstytucja, Ordynacja podatkowa, ustawy o VAT i PIT, Pzp i in.)); bez data aktualne
przepisNoCytat ("art. 446 § 4 kc", "art. 5 ustawy o prawach konsumenta") albo potoczna nazwa ("zasiedzenie"); zamiast y, p, art. Do 160 znaków

Output Schema

NameRequiredDescriptionDefault
statusNo
citationsNo
wersja_danychNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / data / description
      Previous value: -"RRRR-MM-DD: brzmienie z tego dnia (historia dla 10 aktów: 8 kodeksów, Ordynacja podatkowa, ustawa o ochronie praw lokatorów); bez data aktualne"New value: +"RRRR-MM-DD: brzmienie z tego dnia (historia dla 50 najczęściej cytowanych aktów (główne kodeksy, Konstytucja, Ordynacja podatkowa, ustawy o VAT i PIT, Pzp i in.)); bez data aktualne"
  2. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the supplied annotations, the description discloses a per-section status vocabulary (ok, brak_danych, blad, przekroczono_czas), a latency contract (under 20 s, with sections that miss the budget returned as przekroczono_czas instead of failing), sampling thresholds (n_razem >= 100, falling back to >= 20), and a guarantee that every statistic carries n, period and method. These are exactly the operational traits an agent needs and that readOnlyHint/idempotentHint cannot convey.

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?

Everything is compact and front-loaded: the payload shape comes first, then the apelacja addendum, then the operational guarantees. The word count is justified by the six-section scope. However, it is delivered as one sprawling semicolon-and-parenthesis sentence, which makes it harder to parse than a short bulleted enumeration would be, and some return-value detail is arguably redundant given an output schema exists.

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 high-complexity aggregation tool with five optional parameters, the description covers the parts structured fields cannot: section statuses, the 20 s budget and its fallback, thresholds, the citation-authority basis for wiodace, and the SN vs SA/SO divergence flag. Parameters are fully described in the schema and return values in the output schema, so nothing needed for a correct call 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 description coverage is 100% and the schema already explains the non-obvious parts: p is the position in Dz.U. rather than a number, y is the year, art accepts superscript notation like '385-1', przepis is an alternative to y/p/art. The description adds only the loose connection between the brzmienie section and the data parameter, so it does not extend much past the schema. Baseline 3 is appropriate given full schema 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?

The description names a concrete resource (one article of a legal act) and enumerates exactly what comes back: brzmienie, wiodace, rozstrzygniecia, powiazane, trend, rozbieznosc plus an apelacja block. The phrase 'w jednej odpowiedzi' plus the six-part enumeration makes clear this is the one-shot aggregate that the single-purpose siblings (tresc_przepisu, trend_przepisu, rozbieznosc_orzecznicza, przepisy_powiazane) each cover partially. It also draws a boundary: 'Pomiar w grafie Prawnet, nie komentarz doktryny'.

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

Usage Guidelines3/5

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

The use case 'dane o jednym artykule w jednej odpowiedzi' is implied rather than stated, and the description never says when to prefer this aggregate over the granular siblings or when a caller should reach for a narrower tool instead. The only explicit exclusion is doctrinal commentary, which is not a sibling. Guidance is therefore inferable but not spelled out.

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