Skip to main content
Glama

saos_search_judgments

Search Polish court judgments in the SAOS database using full-text phrases, thematic keywords, and filters (court type, judgment type, dates, case number) to find precise legal rulings.

Instructions

Wyszukuje orzeczenia sądowe w bazie SAOS (sortowanie: najnowsze pierwsze).

ZASADA NACZELNA — frazy prawne zawsze w cudzysłowie: • query: "umowa o dzieło" → szuka tej dokładnej frazy (wysokа precyzja) • query: umowa o dzieło (bez cudzysłowu) → AND po słowach osobno = fałszywe trafienia

STRATEGIA — stosuj warstwowo:

  1. Główne pojęcie w cudzysłowie: "umowa o dzieło", "rękojmia za wady", "bezpodstawne wzbogacenie"

  2. Dodaj keyword= z hasłem tematycznym SAOS — to kuratorowana taksonomia niezależna od treści, np. keyword: "umowa o dzieło"

  3. Połączenie query + keyword daje najlepszą precyzję

  4. Dodaj judgmentType=SENTENCE gdy szukasz wyroków merytorycznych (nie postanowień)

PRZYKŁADY: • query: "umowa o dzieło" "wynagrodzenie", judgmentType: SENTENCE • query: "nienależyte wykonanie", keyword: "umowa o dzieło" • query: "odstąpienie od umowy" "wada", ccCourtType: APPEAL • caseNumber: "VIII GC 23/24" → konkretna sygnatura

Jeśli wyniki są nieistotne: dodaj cudzysłowy, dołącz keyword, zawęź typ sądu lub daty.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoFull-text search. Frazy prawne ZAWSZE w cudzysłowie: "umowa o dzieło", "nienależyte wykonanie". Bez cudzysłowu = AND po słowach osobno = niski precision. Można łączyć frazy: "umowa o dzieło" "wynagrodzenie"
dateToNoFormat YYYY-MM-DD
keywordNoHasło tematyczne z kuratorowanej taksonomii SAOS — niezależne od FTS, filtruje po klasyfikacji redakcyjnej. Przykłady: 'umowa o dzieło', 'odszkodowanie', 'rękojmia'. Łącz z query dla najwyższej precyzji.
dateFromNoFormat YYYY-MM-DD
pageSizeNoLiczba wyników (max 20, domyślnie 10)
judgeNameNoImię i nazwisko sędziego
caseNumberNoDokładna sygnatura akt, np. 'VIII GC 23/24'
pageNumberNoNumer strony (od 0)
ccCourtTypeNoTyp sądu: APPEAL (apelacyjny) | REGIONAL (okręgowy) | DISTRICT (rejonowy)
judgmentTypeNoSENTENCE (wyrok) | DECISION (postanowienie) | RESOLUTION (uchwała)
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses key behavioral traits: exact phrases require quotes, unquoted queries become AND across words causing false hits, keyword is an editorial taxonomy independent of content, and judgmentType=SENTENCE targets substantive judgments. This goes beyond the schema and provides valuable operational nuances.

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 description is well-structured with clear sections (golden rule, strategy, examples) and front-loaded with the main purpose. Although somewhat long, each section earns its place by offering actionable guidance for a search tool with 10 parameters.

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 complex search tool (10 params, no output schema), the description covers the most critical parameters: query semantics, keyword behavior, judgmentType, ccCourtType, caseNumber, and date narrowing. It also provides troubleshooting. It omits minor details like pagination or judgeName, but those are self-explanatory from the schema, so the description is adequate.

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%, so the baseline is 3. The description adds substantial semantic value by explaining how to format queries (quoting), the meaning of keyword as a curated taxonomy, and how to combine parameters for better precision. Examples illustrate query+keyword and query+judgmentType combinations, exceeding baseline.

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 opens with 'Wyszukuje orzeczenia sądowe w bazie SAOS' which is a specific verb+resource (searches court judgments in SAOS) and adds sort order. This clearly distinguishes it from sibling tools like saos_get_judgment (retrieval) and saos_list_courts (court list).

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?

The description provides clear context and a detailed layered strategy for when to use quotes, combine query with keyword, and add judgmentType or ccCourtType. It also includes concrete examples and troubleshooting advice. However, it does not explicitly contrast with alternative tools, so it stops short of a 5.

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/pawelojdowski/saos-mcp'

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