Skip to main content
Glama

search

Read-onlyIdempotent

Finds Polish administrative court rulings in CBOSA by keywords, court, dates, case number, symbol, organ, or type; returns citation metadata and snippets to assess relevance.

Instructions

Przeszukuje Centralna Baze Orzeczen Sadow Administracyjnych (CBOSA) - Naczelny Sad Administracyjny + 16 wojewodzkich sadow administracyjnych. TU zyje merytoryczne orzecznictwo RODO/UODO, podatkowe, celne, kontrola decyzji administracji publicznej. SAOS NIE indeksuje tego pionu. Zwraca strone 10 trafien (sygnatura, rodzaj, sad, data, fragment CBOSA wokol trafienia); dla pierwszych 5 dodatkowo symbol, hasla tematyczne, organ, wynik i teze/przedmiot sprawy - do oceny trafnosci. query to 'wszystkie slowa' (AND): podawaj 2-4 terminy; przy 0 wynikow konektor sam lagodzi zapytanie i to zaznacza. CBOSA sortuje po dacie, nie po trafnosci - temat zawezaj filtrami symbol/keywords/organ/judgmentType. Pelny tekst: get_judgment.

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

Input Schema

NameRequiredDescriptionDefault
courtNoNazwa sadu (pelna). Domyslnie wszystkie sady administracyjne.
organNoRodzaj skarzonego organu (pole 'rodzajOrganu'), np. 'Dyrektor Izby Administracji Skarbowej'.
queryNoSlowa kluczowe (pole 'wszystkieSlowa' w CBOSA: WSZYSTKIE musza wystapic, z odmiana), np. 'nalezyta starannosc VAT' albo 'tajemnica skarbowa'. 2-4 terminy, nie zdanie.
dateToNoData orzeczenia do (YYYY-MM-DD; przyjmowane tez YYYY, YYYY-MM, DD.MM.YYYY).
symbolNoSymbol sprawy CBOSA (pole 'symbole'), np. '6110' = podatek od towarow i uslug, '6112' = PIT, '6113' = CIT. Najskuteczniejszy filtr tematyczny.
dateFromNoData orzeczenia od (YYYY-MM-DD; przyjmowane tez YYYY, YYYY-MM, DD.MM.YYYY).
keywordsNoHaslo tematyczne CBOSA (pole 'hasla'), np. 'Podatek od towarów i usług', 'Ochrona danych osobowych'.
caseNumberNoSygnatura akt, np. 'III OSK 1377/23' (NSA) albo 'I SA/Gl 659/22' (WSA).
pageNumberNoNumer strony (od 1). CBOSA zwraca stale 10 wynikow na strone. Do paginacji.
judgmentTypeNoRodzaj orzeczenia (pole 'rodzaj'). Domyslnie dowolny.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.2

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world, but the description adds behavior the annotations cannot: a fixed 10-per-page result shape, richer metadata for only the first 5 hits, date-based (not relevance-based) ordering, and the self-relaxing query fallback with an explicit signal. That is exactly the kind of result-shape and ranking context an agent needs before calling.

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?

It is a single dense block, front-loaded with what the tool searches and returns, then usage tactics, then the get_judgment handoff; essentially every clause carries information. The semicolon-chained sentences make it readable but slightly harder to scan than a short bullet-like structure would be.

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 10-parameter, no-required-argument search tool with no output schema, the description covers result contents, page size, ranking order, and filter strategy. It stops short of describing how pagination totals or empty-page conditions are surfaced, but nothing an agent needs to invoke it correctly is missing.

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?

With 100% schema description coverage the baseline is 3, and the description goes further by explaining that query maps to CBOSA's 'wszystkieSlowa' AND field with inflection handling and a 2-4 term recommendation, and by flagging symbol as the most effective topical filter. It adds meaning beyond the enum and format notes already present in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Przeszukuje Centralna Baze Orzeczen Sadow Administracyjnych'), scopes it to NSA plus 16 WSA courts, and explicitly states what comes back (10 hits with sygnatura, rodzaj, sad, data, snippet; extra fields for the first 5). It also routes full-text needs to get_judgment, so an agent can place the tool without opening the schema.

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 gives concrete operating guidance: query is ALL-words AND, supply 2-4 terms rather than a sentence, expect the connector to auto-relax and flag when 0 results occur, and use symbol/keywords/organ/judgmentType to narrow topic because CBOSA sorts by date not relevance. The only gap is that it does not contrast with the search_by_case sibling.

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

Deploy Server

Other Tools