delete_doc
Delete a document from the filesystem by its unique ID to remove unwanted content.
Instructions
Delete a document
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ID of the document to delete |
Delete a document from the filesystem by its unique ID to remove unwanted content.
Delete a document
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ID of the document to delete |
Changes observed during successful MCP inspections.
v0.1.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, and the description only says 'Delete a document' without detailing side effects like permanence or confirmations. It implies destruction but lacks explicit behavioral disclosure.
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, concise sentence with no unnecessary words or repetition.
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 no output schema, the description is adequate. It identifies the action and the parameter, and no additional context is needed for the caller.
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 schema includes a description for 'doc_id' ('ID of the document to delete'), covering the parameter fully. The description adds no extra semantic value beyond the schema, and schema coverage is 100%.
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 action 'Delete' and the resource 'document', distinguishing it from sibling tools like create, read, and edit.
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?
While no explicit conditions or alternatives are mentioned, the delete operation is self-explanatory and distinct from siblings, making usage clear without further guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.