Skip to main content
Glama

delete_kb

Delete a knowledge base permanently. Requires a confirmation token in a two-step process to prevent accidental deletion.

Instructions

Two-phase kb deletion: preview and confirm token, else full deletion.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kbYes
confirm_tokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description carries the behavioral burden. It does disclose the key behavior: deletion requires a two-phase preview-and-confirm token flow. However, it omits consequences of an invalid token, irreversibility, permissions, or whether the first call actually deletes anything.

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?

The description is one short sentence with no filler and is front-loaded with the key operation. The ambiguous closing phrase 'else full deletion' slightly detracts from an otherwise efficient structure.

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

Completeness3/5

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

The description captures the essential two-phase workflow but leaves operational details unclear, such as the exact flow between preview and confirmation and the meaning of 'full deletion.' The presence of an output schema helps, but for a destructive tool with no annotations, more explicit guidance would be valuable.

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?

Schema description coverage is 0%, so the description must compensate. It partially does by explaining confirm_token as the confirmation mechanism, but it does not explain what kb should contain or how the token is obtained. The meaning is mostly inferred from the tool name and context.

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?

The description clearly identifies the operation as knowledge base deletion and names the two-phase workflow. The trailing 'else full deletion' is ambiguous about when preview vs. full deletion occurs, but the core purpose is still understandable and distinct from sibling document tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description implies a two-step usage pattern: first preview, then confirm with a token. It does not explicitly state when to use this tool over remove_document or how the phases should be sequenced, leaving some inference to the agent.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/notwhiteblank/scholar-rag-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server