Skip to main content
Glama

cache_fill

Downloads full texts of court decisions matching search filters into a local cache for offline searching with cache_search. Fetches up to 500 decisions, one request each.

Instructions

Stáhne do lokální cache plné texty všech rozhodnutí odpovídajících filtru (stejné parametry jako search_decisions), nejvýše max_decisions (výchozí 50, max 500). Poté lze prohledávat offline nástrojem cache_search. Pozor: každé rozhodnutí = 1 HTTP požadavek; buďte šetrní k veřejnému serveru.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoALL
courtNo
queryNo
typesNo
keywordsNo
issued_toNo
regulationNo
issued_fromNo
published_toNo
max_decisionsNo
published_fromNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations to lean on, the description carries the full behavioral burden and does so: it discloses the local-cache write side effect, the hard cap (max_decisions default 50, max 500), the per-item network cost (1 HTTP request per decision), and a politeness constraint on the public server. This is exactly the operational context an agent needs before triggering a bulk fetch.

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?

Three dense sentences: capability, follow-up workflow, and cost warning. Nothing is wasted and the cap and warning are front-loaded enough to be seen before invocation. Slightly dense packing of the parameters-as-search_decisions note costs it a point.

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

Completeness5/5

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

An output schema exists, so return values need not be explained. The description instead covers what an agent uniquely needs: that full texts are stored locally, the volume ceiling, the per-request cost, and how to retrieve results offline. Complete for a bulk-caching tool.

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 coverage is 0% across 11 parameters, so the description must compensate. It only fully specifies max_decisions (default 50, max 500) and delegates the remaining ten filter parameters to search_decisions by reference. That delegation is a workable shortcut but forces the agent to cross-read another tool's docs, leaving semantics partially covered.

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?

States a specific verb and resource: it downloads full texts of decisions into a local cache, and names the sibling it mirrors (search_decisions) and the one that consumes the result (cache_search). An agent can distinguish it from cache_fill_day, cache_search, and search_decisions without opening any schema.

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?

It clearly frames a workflow: fill the cache with search_decisions-equivalent filters, then search offline with cache_search. It stops short of stating when NOT to use it (e.g. single-decision fetch via get_decision, or cache_fill_day for day-scoped fills), so the routing is implied rather than explicit.

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