Skip to main content
Glama

Druk sejmowy

druk
Read-onlyIdempotent

Fetch Sejm print by number and term, returning titles, dates, related proceedings, PDF/DOCX links, and additional documents. Use process dates to check Sejm receipt, not document preparation.

Instructions

Jeden druk sejmowy: tytuł, daty, powiązane procesy, adresy plików (PDF, DOCX) i druki dodatkowe (drukiDodatkowe, np. 2874-001 „ocena skutków regulacji”, opinie) z datami doręczenia i plikami. Daty: dataDokumentu to dzień sporządzenia dokumentu przez autora (NIE dzień wpływu do Sejmu); doreczono to dzień doręczenia druku posłom. Na pytanie „kiedy wpłynął do Sejmu” nie podawaj dataDokumentu: rejestr zapisuje wpływ jako etap procesu „Projekt wpłynął do Sejmu” (pole wszczeto w narzędziu proces), a przy sprawach przeniesionych z poprzedniej kadencji wpływ, sporządzenie i doręczenie potrafią dzielić lata (druk 164: dokument 24.03.2022, wpływ 25.03.2022, doręczenie 16.01.2024); wtedy podaj, która to data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numerYesNumer druku, np. "1", "1234-A" albo "2874-001"
kadencjaNoNumer kadencji Sejmu; domyślnie 10 (bieżąca, od 13 listopada 2023)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
uwagiNo
zrodlaYes
kalendarzNo
wynikCzesciowyNoTylko przy wyniku NIEPEŁNYM: powiedz to użytkownikowi na początku

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent/destructive-free, so the bar is lower, yet the description adds substantial semantics: the distinction between dataDokumentu (authoring date) and doreczono (delivery to MPs), plus the cross-cadence caveat with a concrete example (druk 164). It does not discuss pagination or error behavior for an unknown numer, keeping it shy of a 5.

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 front-loaded first clause states the resource and payload efficiently; the date-semantics guidance is dense and useful. The historical example (druk 164 with three dates) is long but earns its place as disambiguation, so only slight verbosity cost.

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 single-record lookup with annotations covering safety and an output schema covering return shape, the description supplies the one thing that cannot be inferred — the meaning and interrelation of the date fields and where the true 'influence' date lives. Nothing an agent needs to answer correctly 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%, so both parameters are already documented in the schema (numer format, kadencja default/min/max). The description adds no syntax or defaulting detail for either parameter, so the baseline 3 is appropriate.

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?

It states precisely that the tool returns a single Sejm print ('Jeden druk sejmowy') and enumerates the payload — title, dates, related processes, file addresses, and附加 druki. The singular scope implicitly separates it from the sibling search tool szukaj_drukow, though it never names that sibling explicitly.

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

Usage Guidelines5/5

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

It directly instructs how to answer the common question 'when did it reach the Sejm' — do not use dataDokumentu, use the proces tool's wszczeto field — and warns that across cadences the dates can diverge by years, telling the agent to report which date applies. It names the alternative tool (proces) and the condition selecting it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.