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.

Wiodące orzeczenia do przepisu

wiodace_orzeczenia
Read-onlyIdempotent

Orzeczenia o najwyższym autorytecie cytowaniowym (PageRank w grafie orzeczenie → orzeczenie) spośród powołujących dany artykuł (jak REST /v1/przepisy/{y}/{p}/{art}/wiodace): wiodące orzecznictwo do art. X, ranking wg autorytetu, nie daty. Z każdym: cytowane_n, poziom autorytetu i los (uchylone/utrzymane, gdy znany). „Wiodące" = pomiar w naszym grafie, nie ocena doktryny. Dla przepisu cytowanego rutynowo (koszty, procedura — np. art. 98 k.p.c.) pole uwaga mówi, że autorytet pozycji pochodzi z innych zagadnień, a nie z tego przepisu.

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": {
      "y": "<y>",
      "p": "<p>",
      "art": "<art>"
    },
    "name": "wiodace_orzeczenia"
  }
}

Input Schema

NameRequiredDescriptionDefault
pYesPOZYCJA w Dz.U. (nie numer): k.c. 1964/93, k.p.c. 1964/296, k.k. 1997/553, k.p.k. 1997/555, k.p. 1974/141, k.r.o. 1964/59, k.s.h. 2000/1037, k.p.a. 1960/168, Pzp 2019/2019
yYesRok Dz.U. (np. 1997 dla k.k.)
artYesNumer artykułu: "415", "178a", "385-1" (indeks górny jako -N); do 16 znaków
sadNoOpcjonalny filtr rodzaju sądu (ADMINISTRATIVE = NSA/WSA, CBOSA do 5.03.2025)
limitNoIle orzeczeń (1–20); pominięte = 10

Output Schema

NameRequiredDescriptionDefault
statusNo
citationsNo
wersja_danychNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / sad / description
      Previous value: -"Opcjonalny filtr rodzaju sądu (ADMINISTRATIVE = NSA/WSA — tylko wybór orzeczeń)"New value: +"Opcjonalny filtr rodzaju sądu (ADMINISTRATIVE = NSA/WSA, CBOSA do 5.03.2025)"
  2. Changed4 schema fields changed
    • changedInput schema / properties / art / description
      Previous value: -"Numer artykułu w formie URL: \"178a\", \"415\", \"385-1\" (indeks górny jako -N); do 16 znaków"New value: +"Numer artykułu: \"415\", \"178a\", \"385-1\" (indeks górny jako -N); do 16 znaków"
    • changedInput schema / properties / p / description
      Previous value: -"Pozycja w Dzienniku Ustaw (y/p): k.c. 1964/93, k.p.c. 1964/296, k.k. 1997/553, k.p.k. 1997/555, k.p. 1974/141, k.r.o. 1964/59, k.s.h. 2000/1037, k.p.a. 1960/168, Pzp 2019/2019 — POZYCJA, nie numer Dz.U."New value: +"POZYCJA w Dz.U. (nie numer): k.c. 1964/93, k.p.c. 1964/296, k.k. 1997/553, k.p.k. 1997/555, k.p. 1974/141, k.r.o. 1964/59, k.s.h. 2000/1037, k.p.a. 1960/168, Pzp 2019/2019"
    • changedInput schema / properties / y / description
      Previous value: -"Rok Dziennika Ustaw (np. 1997 dla Kodeksu karnego)"New value: +"Rok Dz.U. (np. 1997 dla k.k.)"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "citations": {
      +      "type": "array"
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "wersja_danych": {
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral context: each record carries cytowane_n, poziom autorytetu and los (uchylone/utrzymane when known), and it warns that 'wiodące' is a measurement in the citation graph rather than a doctrinal assessment. The `uwaga` field behavior for routinely cited provisions is a genuinely useful disclosure of a non-obvious edge case.

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?

The core definition (what it returns and how it is ranked) is front-loaded in the first clause, and the rest is caveat content that an agent genuinely needs. The REST path reference is slightly redundant given the schema. Overall dense but free of filler.

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?

With an output schema present and 100% schema coverage, the description does not need to enumerate return fields, yet it highlights the three most important ones and what `uwaga` means. It also clarifies the metric's limits, which an agent needs in order not to misrepresent the ranking as doctrinal authority. Only the absence of explicit sibling routing keeps it from 5.

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%, including the tricky distinction between p (Dz.U. position, not number) and y, and the superscript encoding in art. The description adds no parameter-level detail beyond restating the y/p/art triple via the REST path template. Baseline 3 is appropriate when the schema does the heavy lifting.

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 states a concrete verb and resource: it returns the judgments with the highest citation-authority (PageRank over the judgment→judgment graph) among those citing a given article, and explicitly says the ranking is by authority, not date. The parenthetical REST path /v1/przepisy/{y}/{p}/{art}/wiodace pins the scope to one article. Differentiation from siblings such as orzeczenia_do_przepisu is only implicit (the 'wiodące' subset), so it stops short of 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 Guidelines3/5

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

Usage is implied rather than stated: the tool is for finding leading case law for a specific provision, and 'ranking wg autorytetu, nie daty' hints at when to prefer it over a plain listing. No alternative tool is named and no explicit 'use this when / use that instead' condition is given. The caveat about routinely cited provisions (e.g. art. 98 k.p.c.) guides interpretation of results, not tool selection.

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