Delete docs
docs_deleteDelete one of your documents, by id
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id, from docs_list |
docs_deleteDelete one of your documents, by id
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id, from docs_list |
Changes observed during successful MCP inspections.
Input schema / properties / collectionRemoved value: -{
- "description": "Collection name",
- "type": "string"
-}Input schema / properties / id / descriptionPrevious value: -"Record id to delete. Must be yours"New value: +"Document id, from docs_list"Input schema / requiredPrevious value: -[
- "collection",
- "id"
-]New value: +[
+ "id"
+]Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotation destructiveHint=true already signals the destructive nature. The description adds the nuance that only 'your documents' can be deleted, which is useful context. However, it does not elaborate on irreversibility or post-deletion effects beyond what the annotation implies.
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?
The description is a single, front-loaded sentence that is concise and to the point. Every word contributes to the meaning—'delete' is the action, 'your documents' defines scope, and 'by id' specifies the identifier. No waste or redundancy.
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 simple delete operation with one parameter and a destructiveHint annotation, the description is adequately complete. It clearly identifies the resource and method, and the schema supplies the id source. No need to explain return values or additional side effects given the simplicity and existing annotations.
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?
The input schema already provides a complete description for the id parameter ('Document id, from docs_list') with 100% coverage. The description's 'by id' adds no additional semantic value beyond what the schema already communicates.
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?
The description clearly states the tool's purpose: 'Delete one of your documents, by id' - it contains a specific verb (delete), resource (documents), scope (one of your documents), and the method (by id). It is distinct from sibling tools like docs_list, docs_read, and docs_write.
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 description implies usage for deleting a specific document owned by the user, with the id obtained from docs_list (as noted in the schema). However, it does not explicitly mention when to use this tool versus alternatives, nor does it provide exclusions or prerequisites beyond the id.
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.