Najít obec
najit_obecVyhledá obce podle názvu a vrátí jejich identifikátor (id), který ostatní nástroje potřebují.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dotaz | Yes | Název nebo začátek názvu obce, aspoň 2 znaky. |
najit_obecVyhledá obce podle názvu a vrátí jejich identifikátor (id), který ostatní nástroje potřebují.
| Name | Required | Description | Default |
|---|---|---|---|
| dotaz | Yes | Název nebo začátek názvu obce, aspoň 2 znaky. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds the one behavioral fact annotations cannot convey and no output schema supplies: that the result is an identifier usable by other tools. It omits match-count/multiple-result behavior, keeping it from a 5.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence delivering purpose, output, and downstream use with no filler. Every clause earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter lookup with no output schema, the description supplies the essential missing piece – the shape of the return (id) and why it matters. Combined with full schema coverage and safety annotations, nothing needed to call it correctly is absent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the single parameter 'dotaz' is already documented with its minimum-length constraint in the schema. The description adds no syntax or format detail beyond what the schema provides, so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('Vyhledá') and resource ('obce'), and adds the key outcome – returns the municipality id that other tools need. This clearly separates it from siblings like sledovat_obec or zasedani_obce, which consume that id rather than produce it.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The clause 'který ostatní nástroje potřebují' establishes clear context: use this as the lookup step to obtain an id for downstream tools. It does not name an alternative search tool (e.g. hledat) or state exclusions, 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.
Add one secure layer between your agents and this server.