Skip to main content
Glama

delete_knowledge_document

DestructiveIdempotent

Delete this knowledge document. Review the identifier before deleting; the change cannot be undone.

Input Schema

NameRequiredDescriptionDefault
idYesResource identifier returned by a previous request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known; the description's 'the change cannot be undone' reinforces rather than reveals. It omits what actually happens on deletion (cascading detachment from assistants, whether the ID becomes reusable) and does not mention that repeated calls are harmless, which annotations already cover via idempotentHint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action, with no filler. Slightly under-specified rather than verbose, so it lands at a 4 rather than 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter destructive delete whose safety traits are already in the annotations, the description plus structured data is largely sufficient. The main omission is the post-deletion effect on assistants that reference the document, which a careful agent would want before calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With a single parameter at 100% schema description coverage, the schema already explains that 'id' is a resource identifier from a prior request. The description adds only the advice to double-check that identifier, no format or sourcing detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Delete this knowledge document'), making the operation unambiguous. No effort is made to distinguish it from the many sibling delete_* tools (delete_tool, delete_webhook, delete_simulation), so it stops 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.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when this is the right call versus alternatives such as update_knowledge_document or leaving the document unbound, and no mention of prerequisites (existence, permissions). The only procedural note — 'Review the identifier before deleting' — is a caution, not a when-to-use signal.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources