Skip to main content
Glama

search

Read-onlyIdempotent

Search Polish court rulings from SAOS database covering Supreme Court, Constitutional Tribunal, common courts, and KIO. Retrieve precedents by full text, case number, judge name, or legal base.

Instructions

Przeszukuje baze orzeczen sadow polskich w SAOS (System Analizy Orzeczen Sadowych). Pokrycie obejmuje takze orzeczenia biezace (lata 2024-2026 sa dobrze reprezentowane), ale jest nierowne wg typu sadu. Sady administracyjne (WSA/NSA) NIE sa indeksowane. Daty bywaja znieksztalcone przez OCR - weryfikuj sygnature i date w zrodle. Przydatny do: analizy linii orzeczniczej, precedensow, wyszukiwania po tresci / sygnatuze / sedzim / podstawie prawnej. Bledy: invalid_court_type (zly enum), upstream_error (HTTP/timeout API).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allNoWyszukiwanie pelnotekstowe - slowo lub fraza w tresci orzeczenia.
dateToNoData orzeczenia do (format YYYY-MM-DD), np. '2016-12-31'.
dateFromNoData orzeczenia od (format YYYY-MM-DD), np. '2015-01-01'.
pageSizeNoLiczba wynikow na strone (min 10, max 100). Domyslnie 10.
courtTypeNoTyp sadu: COMMON=sady powszechne, SUPREME=Sad Najwyzszy, CONSTITUTIONAL_TRIBUNAL=Trybunal Konstytucyjny, NATIONAL_APPEAL_CHAMBER=Krajowa Izba Odwolawcza (KIO). NIE uzywaj ADMINISTRATIVE - sady admin nie sa w SAOS.
judgeNameNoNazwisko sedziego, np. 'Kowalski'.
legalBaseNoPodstawa prawna, np. 'art. 415 kc' lub 'art. 6 RODO'.
caseNumberNoSygnatura akt, np. 'I ACa 772/13' lub 'IV CSK 123/15'.
pageNumberNoNumer strony (od 0). Do paginacji wynikow.
referencedRegulationNoPrzywolany akt prawny, np. 'ustawa o ochronie danych osobowych'.
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive. Description adds valuable behavioral details: coverage uneven by court type, dates may be OCR-distorted, possible error types. This goes beyond annotations to set proper expectations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is a single paragraph of 5 sentences, front-loaded with purpose, no redundant sentences. Every sentence adds information about coverage, limitations, use cases, or errors.

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?

Covers scope, limitations, use cases, and errors. Missing details about result format or pagination behavior (though pageNumber parameter exists). Given no output schema, a brief note on return structure would improve completeness.

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 parameters are already well-documented. Description adds marginal value by warning about date distortion (relevant to dateFrom/dateTo) and mentioning courtType enumeration pitfalls, but does not elaborate on each parameter beyond 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?

Description starts with clear verb 'Przeszukuje' (searches) and specific resource 'baze orzeczen sadow polskich w SAOS'. It distinguishes from siblings by implying this tool is for broad search across multiple fields, while siblings like 'search_by_case' are likely more specific.

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?

Description provides clear context for when to use (analysis of case law, precedents, searching by content/signature/judge/legal basis) and explicitly states what not to use (administrative courts not indexed). However, it does not directly compare to sibling tools or give explicit when-not-to-use scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/matematicsolutions/mcp-saos'

If you have feedback or need assistance with the MCP directory API, please join our Discord server