delete
Remove indexed documents from the knowledge base by specifying their exact path or source.
Instructions
Delete indexed docs by exact path or by source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| source | No |
Remove indexed documents from the knowledge base by specifying their exact path or source.
Delete indexed docs by exact path or by source.
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| source | No |
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, so the description carries the full burden of behavioral disclosure. It states that documents will be deleted, which is destructive, but it does not mention irreversibility, what happens when both path and source are provided, whether deletion is recursive, or any safety caveats.
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, focused sentence with no filler. It front-loads the action ('Delete indexed docs') and immediately states the key selection modes.
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 destructive tool with no annotations and no output schema, the description is too sparse. It omits important context such as irreversibility, behavior when both parameters are supplied, and what response or side effects the agent should expect.
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 0%, so the description must compensate. It does clarify that 'path' and 'source' are alternative selection criteria, adding meaning beyond the raw schema. However, it leaves ambiguity about whether the parameters can be combined, whether at least one is required, and how null values behave.
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 uses a specific verb ('Delete'), identifies the resource ('indexed docs'), and states the two selection modes ('by exact path or by source'). This clearly distinguishes it from the sibling tools such as index, query, and search.
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 makes clear that this tool is for deleting indexed documents by path or source, which is distinct from the other sibling tools. It does not explicitly state when not to use it or name alternatives, but the intent is unambiguous enough for an agent to select it appropriately.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.