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.

Tok sprawy

tok_sprawy
Read-onlyIdempotent

Tok sprawy: orzeczenia jednej sprawy ułożone w etapy. Wejście: id albo sygnatura. NSA i WSA: orzeczenia, które rejestr CBOSA wskazuje jako powiązane (stan zbioru 5.03.2025, tylko opublikowane; rejestr mówi „powiązane”, nie „zaskarżone”; po uchyleniu sprawa dostaje nową sygnaturę, więc tok bywa niepełny). Sądy powszechne i SN (zrodlo_toku = sentencja): orzeczenie zaskarżone odczytane z sentencji sądu odwoławczego albo SN — sąd, data, sygnatura; etap z w_bazie = false znamy tylko stamtąd (bez id i URL: nie mamy tego orzeczenia). Etap: id, sygnatura, sąd, szczebel, rodzaj, data, URL, rola, kontroluje (orzeczenie, które ten etap ocenia, z liczbą dni); tylko NSA/WSA: wynik_rejestru (skarga albo skarga kasacyjna uwzględniona, oddalona, odrzucona, umorzenie), data_wplywu, dni_od_wplywu, dni_razem. Status poza_zakresem = TK albo KIO; brak_danych = nie znamy innych etapów (nie znaczy, że orzeczenia nie zaskarżono). Bez składu sędziowskiego.

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

Input Schema

NameRequiredDescriptionDefault
idNoId orzeczenia Prawnet (koniec adresu strony); wtedy sygnatura i sad pomijane
sadNoPrzy sygnaturze noszonej przez kilka sądów: nazwa lub miasto ("WSA w Gdańsku", "NSA"). Do 120 znaków
sygnaturaNoBez id: sygnatura, np. "II SA/Bk 756/09". Do 200 znaków

Output Schema

NameRequiredDescriptionDefault
statusNo
citationsNo
wersja_danychNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, it discloses substantive behavioral limits: CBOSA register state as of 5.03.2025, only published rulings, 'powiązane' rather than 'zaskarżone' linkage, incomplete flows after a case receives a new signature, and no judicial panel composition. It also defines the out-of-scope (TK/KIO) and missing-data statuses, which materially change interpretation of results.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and labels like 'Wejście:', 'Etap:', and 'Status' give some structure, but long colon-chained sentences pack many caveats together and make the text hard to scan. Some output-field enumeration (wynik_rejestru, data_wplywu, dni_razem) partially duplicates what an output schema already carries.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a lookup tool with three optional parameters and an output schema, the description is nearly complete: input modes, source-dependent coverage, per-stage fields, and the meaning of non-success statuses are all addressed. The remaining gap is routing guidance relative to sibling tools, not internal completeness.

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%, so the schema already documents id, sad, and sygnatura. The description restates the id-vs-signature precedence and the role of sad when a signature is shared, but adds no format, validation, or edge-case detail beyond what the schema provides.

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 opening states a specific verb and resource: rulings of a single case arranged into stages, with input being an id or a case signature. It is clear what the tool returns, but it never distinguishes itself by name from plausible siblings such as losy_orzeczenia or cytowania_orzeczenia, leaving that differentiation to the agent.

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 description explains the accepted inputs (id, or sygnatura with optional sad) and what each source covers, which implies when the tool is applicable. However, it gives no explicit when-to-use / when-not-to-use guidance and never points to an alternative tool when the flow of a case is not what the agent needs.

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