Skip to main content
Glama
PawelHaracz

polish-caselaw-mcp

by PawelHaracz

search_case_law

Search live Polish court judgments from the SAOS database using full-text queries, filters for date and court type, and customizable sorting and result limits.

Instructions

Search Polish court judgments (orzecznictwo) live from the SAOS API (saos.org.pl). Returns matching judgments with snippets (>>> <<< around matches), court, case number, and date. Use get_judgment to fetch the full text of a result. Data is sourced live from SAOS, separate from statutory law. Not legal advice; verify against official court portals.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoSort order (default relevance).
limitNoMax results, 1-100 (default 10).
queryYesFull-text query (Polish).
date_toNoOptional end date YYYY-MM-DD.
date_fromNoOptional start date YYYY-MM-DD.
court_typeNoOptional court type filter.
Behavior4/5

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

No annotations were provided, so the description carries full burden. It discloses that data is live from SAOS, includes snippet format (>>> <<< markers), and clarifies it's not legal advice requiring verification against official portals. This is meaningful behavioral context beyond a simple mutation/read distinction.

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?

Four sentences, each earning its place: source identification, return format + sibling pointer, data separation nuance, and legal disclaimer. Slightly dense but efficient; no fluff. The data-source and disclaimer sentences add genuine value rather than padding.

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?

Given no output schema and no annotations, the description covers search purpose, return format, data source, sibling linkage, and legal caveats. For a 6-param tool with documentation-rich schema, this is reasonably complete. It could benefit from mentioning pagination or result-count limits more explicitly, but the defaults are in the schema.

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 description coverage is 100%, so all 6 parameters are already documented in the schema. The description adds value by explaining the query language (Polish full-text), the return format (snippets, court, case number, date), and the default sort behavior (relevance per the schema enum default). This supplements rather than repeats schema info.

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 clearly states a specific verb ('Search') + resource ('Polish court judgments from SAOS API'). It names the data source, distinguishes from statutory law, and differentiates from siblings by noting that get_judgment fetches full text — making this the search counterpart. High clarity.

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 gives clear when-to-use context (searching case law live from SAOS, separate from statutory law) and points to get_judgment as the follow-up for full text. However, it doesn't explicitly name alternatives like find_judgments_for_provision or say when NOT to use this tool.

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/PawelHaracz/polish-caselaw-mcp'

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