Skip to main content
Glama

Prawnet — Polish case law & legislation

Zakres bazy orzeczeń

zakres_bazy
Read-onlyIdempotent

Zakres bazy orzeczeń Prawnet dla każdego rodzaju sądu (sądy powszechne, SN, TK, KIO, NSA/WSA) i źródła (SAOS, Portal Orzeczeń, baza UZP, trybunal.gov.pl, repozytorium2.sn.pl, CBOSA): liczba orzeczeń, daty pierwszego i ostatniego, sposób aktualizacji, znane luki i znaczenie braku trafienia przy weryfikacji sygnatury. Znane luki to m.in.: sądy powszechne (SAOS, Portal Orzeczeń) i SN do 06.2016 — wybór; NSA/WSA — CBOSA tylko do 5.03.2025; repozytorium SN — postęp importu w liczbach. Z polem sad także: liczba orzeczeń wg roku wydania (ostatnie 12 lat) i — poza sądami powszechnymi — gęstość numerów spraw wg roku z sygnatury (odsetek numerów od 1 do najwyższego znanego, które mamy; górne oszacowanie kompletności) z rejestrami pełnymi TK i KIO. Bez pola sad także interpretacje podatkowe KIS (liczba, daty, stan aktualizacji). Liczby na bieżąco (bufor do 6 godzin; NSA/WSA i daty początku źródeł z dziennej migawki), w razie awarii z dziennej migawki (liczby_zrodlo).

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

Input Schema

NameRequiredDescriptionDefault
sadNoJeden rodzaj sądu (NATIONAL_APPEAL_CHAMBER = KIO, ADMINISTRATIVE = NSA/WSA); dodaje liczby wg roku. Pominięte = wszystkie, bez lat

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: -"Jeden rodzaj sądu (NATIONAL_APPEAL_CHAMBER = KIO, ADMINISTRATIVE = wybór NSA/WSA); dodaje liczby wg roku. Pominięte = wszystkie, bez lat"New value: +"Jeden rodzaj sądu (NATIONAL_APPEAL_CHAMBER = KIO, ADMINISTRATIVE = NSA/WSA); dodaje liczby wg roku. Pominięte = wszystkie, bez lat"
  2. Added

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: freshness guarantees (up to a 6-hour buffer), the daily-snapshot fallback and even the fallback field name 'liczby_zrodlo', plus concrete known gaps (common courts and SN only up to 06.2016, CBOSA to 5.03.2025, SN repository import progress). It also explains the epistemic meaning of a miss during signature verification, which is exactly the behavioral nuance an agent needs.

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?

Purpose is front-loaded and every clause carries information, but the text is one dense block of very long, multi-clause Polish sentences mixing return fields, gap lists, parameter effects, and freshness policy. Splitting into short labeled statements would make it substantially easier for an agent to parse.

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 read-only metadata tool with an output schema, this is close to complete: it covers what is returned, freshness and fallback behavior, gap semantics, and the parameter's effect. Remaining minor gaps are cost/latency hints and an explicit pointer to the related signature-verification tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the `sad` enum is documented, so the baseline would be 3. The description goes further by explaining what selecting `sad` adds (per-year counts for the last 12 years, case-number density with the 'upper-bound completeness' caveat, full registers for TK and KIO) and what omitting it yields (all courts plus KIS tax interpretations). Minor partial duplication of the schema's 'dodaje liczby wg roku' keeps it from a 5.

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 concretely what the tool reports: per court type and per source, the number of rulings, first/last dates, update method, known gaps, and the significance of a signature-verification miss. That is far more specific than the title 'Zakres bazy orzeczeń', though the core verb ('reports coverage') is implicit rather than stated, and no sibling tool is named for differentiation (e.g. sprawdz_sygnature, which it touches on via 'brak trafienia').

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 only implied: an agent can infer the tool is for assessing whether a missing ruling means 'not in the database' versus 'not published', and for gauging source completeness before trusting search results. There is no explicit when-to-use statement, no exclusion, and no named alternative.

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