Skip to main content
Glama

Prawnet — Polish case law & legislation

Historia brzmienia przepisu

historia_przepisu
Read-onlyIdempotent

Historia brzmienia jednego artykułu ustawy: lista wersji (nr, od, do, typ: pierwotna | zmieniony | dodany | uchylony, ustawa zmieniająca z Dz.U., od_szacowane — data początkowa szacowana) odtworzona z łańcucha obwieszczeń o tekście jednolitym (ELI Sejmu RP), z ogłoszonymi zmianami o odroczonym wejściu w życie (przyszla = true) i liczbą orzeczeń z bazy wydanych w okresie każdej wersji. Bez treści brzmień. Pokrycie: 50 najczęściej cytowanych aktów (główne kodeksy, Konstytucja, Ordynacja podatkowa, ustawy o VAT i PIT, Pzp i in.); dla innych aktów status brak_historii (to nie znaczy, że artykuł się nie zmieniał). nr 1 to najstarsze brzmienie w bazie, niekoniecznie pierwotne brzmienie aktu; do = dzień wejścia w życie następnej wersji (granica wyłączna), null = obowiązuje nadal. Wersje dotyczą całego artykułu, nie pojedynczego paragrafu. wplyw_zmian: wyniki orzeczeń przed i po ostatniej zmianie (n, Wilson; data wyroku jako przybliżenie). Moc wiążącą ma tekst ogłoszony w Dzienniku Ustaw.

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": "historia_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
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. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, yet the description adds substantial behavior: data derived from the łańcuch obwieszczeń, inclusion of not-yet-in-force changes (przyszla = true), orzeczenie counts per version period, a wplyw_zmian block built on Wilson statistics with ruling date as a proxy, and an authority caveat that only the Dziennik Ustaw text is binding. It also pre-empts likely misinterpretations (nr 1 is not necessarily the original wording; brak_historii does not mean the article never changed; do is an exclusive boundary).

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 what the tool returns, then caveats and semantics, all in semicolon-delimited clauses. Almost every clause carries real information, but the single dense block with heavy parentheticals is harder to scan than a lightly structured version would be.

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 history-of-provision tool with a rich output schema and full annotation coverage, the description supplies everything an agent needs: coverage limits, fallback status value, numbering caveat, exclusive boundary semantics, future-dated changes, and authority disclaimers. Return-value structure is left to the output schema, correctly.

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 explains p, y, art and przepis in detail. The description adds meaning only indirectly (it clarifies that output is article-level and that przepis accepts citations or colloquial names only insofar as the schema already says so). No additional guidance on choosing przepis versus the y/p/art combination is provided beyond the structured fields.

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 precise verb+resource: a list of versions (nr, od, do, typ, ustawa zmieniająca, od_szacowane) for one article, reconstructed from the chain of consolidated-text announcements. It draws a clear scope boundary with the siblings that return actual text by saying explicitly 'Bez treści brzmień', and bounds granularity with 'Wersje dotyczą całego artykułu, nie pojedynczego paragrafu'. It does not name the sibling tools it complements (e.g. tresc_przepisu, porownaj_brzmienie), so differentiation is implied rather than explicit.

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?

Usage context is clear: it is for amendment history, not for current wording, and it names the coverage precondition (only the 50 most-cited acts; others return brak_historii). Exclusions are present in substance (no text content, article-level only), but the description never states when to prefer this over a sibling nor gives an explicit 'use X instead' routing.

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