Skip to main content
Glama
asterixix

Polish Academic MCP

by asterixix

saos_search_judgments

Search Polish court judgments in the SAOS database using filters like date, case number, court type, judge name, and legal basis to find relevant legal precedents.

Instructions

Search Polish court judgments in SAOS (System Analizy Orzeczeń Sądowych). Use all for full-text / metadata phrase (SAOS query language: https://www.saos.org.pl/help/index.php/search-query-language). Filter by dates, case number (exact full signature), court ids/codes, judge name, legal base text, judgment types (DECISION, SENTENCE, …). Returns JSON with items[].id, href, textContent snippets, court metadata. For full text use saos_get_judgment with id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allNoPhrase searched across all judgment fields (metadata and text). See SAOS query language in help.
page_sizeNoResults per page (API allows 10–100).
page_numberNoZero-based page index.
sorting_fieldNoSort field, e.g. DATABASE_ID, JUDGMENT_DATE (see SAOS search API docs).
sorting_directionNoSort direction.
legal_baseNoFree-text search in legal basis field.
referenced_regulationNoSearch in referenced statutory provision text.
law_journal_entry_codeNoDU position as year/entry, e.g. 2024/123.
judge_nameNoJudge name (query language).
case_numberNoExact full case signature (not a substring).
court_typeNoCommon court level (only when filtering common courts).
cc_court_idNoSAOS internal common court id.
cc_court_codeNoSource court code digits, e.g. 15500000 for SA Wrocław.
cc_court_nameNoExact court name including case (e.g. Sąd Apelacyjny we Wrocławiu).
cc_division_idNoSAOS common court division id.
cc_division_codeNoDivision code within one court.
cc_division_nameNoExact division name.
cc_include_dependent_court_judgmentsNoWhen cc_court_id targets an appeal court: include lower-instance judgments from that circuit.
sc_personnel_typeNoSupreme Court bench size: ONE_PERSON, THREE_PERSON, FIVE_PERSON, SEVEN_PERSON, ALL_COURT, ALL_CHAMBER, JOINED_CHAMBERS.
sc_judgment_formNoExact SN judgment form label, e.g. wyrok SN (case-sensitive).
sc_chamber_idNoSAOS Supreme Court chamber id.
sc_chamber_nameNoExact chamber name (case-sensitive).
sc_division_idNoSN chamber division id.
sc_division_nameNoExact SN division name.
judgment_typesNoMatch any of these judgment types (OR).
keywordsNoThematic keywords (common courts); all listed keywords must match (AND). Exact spelling.
judgment_date_fromNoLower bound judgment date yyyy-MM-dd.
judgment_date_toNoUpper bound judgment date yyyy-MM-dd.
Behavior3/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the return format ('Returns JSON with items[].id, href, textContent snippets, court metadata') which is helpful, but doesn't cover important aspects like pagination behavior (implied by page parameters but not explained), rate limits, authentication requirements, or error conditions. The description adds value but leaves significant behavioral gaps.

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 appropriately sized and front-loaded with the core purpose. It efficiently covers search scope, key parameters, return format, and sibling tool relationship in three sentences. While dense, every sentence adds value and there's no wasted text. The structure moves logically from purpose to usage to output.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (28 parameters, no output schema, no annotations), the description provides adequate but incomplete coverage. It explains the purpose, basic usage, and return structure, but doesn't address pagination behavior, error handling, or the relationship between the many filtering parameters. For such a complex search tool with rich filtering options, more contextual guidance would be helpful.

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?

With 100% schema description coverage, the baseline is 3. The description adds some context by mentioning the SAOS query language link and listing filterable fields, but doesn't provide significant additional parameter semantics beyond what's already documented in the comprehensive schema. It gives a high-level overview but the schema does the heavy lifting for parameter documentation.

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 clearly states the specific verb ('Search') and resource ('Polish court judgments in SAOS'), and distinguishes from sibling tools by mentioning 'saos_get_judgment' for full text retrieval. It provides concrete scope details about what can be searched (full-text/metadata phrase, dates, case numbers, etc.).

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?

The description explicitly provides when-to-use guidance: 'Use `all` for full-text / metadata phrase' and 'For full text use saos_get_judgment with id.' It clearly distinguishes this search tool from the retrieval tool for full content, giving the agent clear alternatives based on the user's need.

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/asterixix/polish-academic-mcp'

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