Skip to main content
Glama

kb.delete

Delete a knowledge base document by its ID. After deletion, update the index page using kb.index to maintain consistency.

Instructions

Delete a KB document by ID. After deleting, regenerate the index page with kb.index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesKB document ID to delete
project_idNoOptional project ID to scope the lookup
Behavior3/5

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

With no annotations, the description carries full burden. It discloses the need to regenerate the index after deletion, implying the operation does not automatically update the index. However, it omits other behaviors like permissions, reversibility, or error handling. The disclosure is helpful but incomplete.

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

Conciseness5/5

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

The description uses only two sentences with no redundant words. The first sentence states the core purpose; the second provides essential follow-up context. It is front-loaded and efficient.

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 simple deletion tool with no output schema and only two parameters, the description covers the primary action and a critical post-condition (index regeneration). It lacks details about return values or error handling, but given the low complexity, it is largely sufficient.

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?

The input schema already provides descriptions for both parameters with 100% coverage. The description adds no additional meaning beyond what the schema offers, so a baseline score of 3 is appropriate.

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

Purpose5/5

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

The description clearly states the action ('Delete a KB document by ID') and the resource ('KB document'). This distinguishes it from sibling tools like kb.add, kb.search, etc., which have different verbs.

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?

The description lacks guidance on when to use this tool versus alternatives. It does not mention prerequisites, conditions, or exclusions. The only guideline is a post-deletion instruction to regenerate the index, which is more about follow-up action than selection criteria.

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/dereknguyen269/mcp-kb-server'

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