Obnovit doklad z kose
restore_documentVrati doklad z kose zpet mezi doklady. Zapise se do historie dokladu.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID dokladu v kosi |
restore_documentVrati doklad z kose zpet mezi doklady. Zapise se do historie dokladu.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID dokladu v kosi |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false), so the bar is lower. The description adds a genuinely non-obvious side effect: the restore is recorded in the document's history, which matters for audit-trail reasoning. It stops short of describing error behavior when the document is not in the trash.
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?
Two short sentences, purpose front-loaded, and the behavioral note second. Nothing redundant or padded.
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 mutation with full schema coverage and no output schema, the description covers what it does and its main side effect. Only precondition/error semantics (document must be in the trash) are missing, which is a minor gap.
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 description coverage is 100% and the single 'id' parameter is already documented as the ID of a document in the trash. The description adds no format, sourcing, or lookup guidance beyond that, 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 and resource: returns a document from the trash back among documents. This is clearly distinct from siblings like delete_document, get_document, and update_document. It does not explicitly name or contrast with a sibling, which keeps it just short of a 5.
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?
Usage is implied by 'z kose' (from the trash): call this to undo a deletion. However, it never states the precondition that the document must currently be in the trash, nor what happens if it is not, and it names no alternatives or exclusions.
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.