Skip to main content
Glama

search_decisions

Search Czech court decisions by full text, court, judge, keywords, statutory provision, and dates. Returns case summaries with UUID for full-text retrieval.

Instructions

Vyhledávání soudních rozhodnutí (fulltext + filtry). Používá nedokumentované API webu rozhodnuti.justice.cz.

Parametry:

  • query: hledaná slova v textu rozhodnutí.

  • mode: ALL = všechna slova, ANY = kterékoli slovo, EXACT = přesná fráze.

  • court: kód nebo název soudu; více soudů oddělit čárkou (např. 'KSOS, OSOV' nebo 'Krajský soud v Ostravě').

  • keywords: klíčová slova (kód nebo český název), více oddělit čárkou, např. 'bezdůvodné obohacení, smlouva o úvěru'.

  • regulation: dotčené ustanovení, např. '§ 2991 z. č. 89/2012 Sb.' nebo jen '89/2012' (všechna rozhodnutí citující OZ).

  • judge_last_name / judge_first_name: soudce.

  • types: 'JUDGEMENT' (rozsudek), 'ORDER_T' (trestní příkaz), 'RESOLUTION' (usnesení); více oddělit čárkou. Výchozí: vše.

  • issued_from/issued_to: datum vydání (YYYY-MM-DD). published_from/published_to: datum zveřejnění.

  • affected: vztah k napadenému rozhodnutí: 'CONFIRM', 'CHANGE', 'CANCEL', 'COMPLETE', 'CORRECT', 'REPLACE' (čárkou).

  • sort_by: PUBLISHED_AT | DECISION_AT; sort_direction: DESC | ASC.

  • page (od 0), limit (max 100).

Vrací seznam s uuid, ECLI, soudem, spisovou značkou, daty, předmětem a zkráceným výrokem. Plný text získáte nástrojem get_decision(uuid).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoALL
pageNo
courtNo
limitNo
queryNo
typesNo
sort_byNoPUBLISHED_AT
affectedNo
keywordsNo
issued_toNo
regulationNo
issued_fromNo
published_toNo
published_fromNo
sort_directionNoDESC
judge_last_nameNo
judge_first_nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are present, so the description carries the full burden. It does disclose a genuinely useful trait — that it relies on the undocumented API of rozhodnuti.justice.cz — but says nothing about rate limits, failure modes, or pagination behavior beyond the page/limit params. The return-value sentence duplicates the existing output schema.

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?

Front-loaded one-line purpose followed by a compact bullet-per-parameter list that is easy to scan, and the length is justified by 17 parameters. Minor waste in the trailing sentence describing the return payload, which the output schema already covers.

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 17-parameter, annotation-free search tool with an output schema, the description supplies the parameter semantics, input formats, and a hand-off to get_decision, which is nearly everything an agent needs. It stops short of covering error/rate-limit behaviour on the undocumented upstream API.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% across 17 params, and the description compensates fully: it explains every parameter's meaning, gives the mode semantics (ALL/ANY/EXACT), enum-like values for types and affected, comma-separated multi-value syntax for court/keywords/types, date formats (YYYY-MM-DD), and concrete examples such as '§ 2991 z. č. 89/2012 Sb.' and '89/2012'.

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

Purpose4/5

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

States a specific verb+resource ('Vyhledávání soudních rozhodnutí') plus scope (fulltext + filtry), and points to get_decision(uuid) as the follow-up for full text. It does not differentiate from siblings like find_by_case_number or browse_published, which also retrieve decisions, so the routing is only partially resolved.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied through the parameter catalogue rather than stated: no explicit 'use this when…' or exclusion against find_by_case_number/browse_published, and it never tells the agent to resolve courts/keywords via list_courts or list_keywords even though it accepts codes. Adequate for a search tool but leaves alternative selection to inference.

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