Skip to main content
Glama
devkanro

knowledgebased

by devkanro

delete_knowledge

Permanently delete a knowledge fragment by providing its path. Clean up outdated or incorrect entries from your knowledge base.

Instructions

Delete a knowledge fragment permanently.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesFragment path (e.g. 'workflow/git' or 'personal@workflow/git')
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It explicitly notes that deletion is 'permanent,' which is the most critical side effect for a delete operation. However, it does not mention other potential effects such as cascading deletions or permission requirements, preventing a higher score.

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 is a single, succinct sentence that is front-loaded with the action and resource. Every word earns its place, with no redundant information or filler.

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?

For a simple one-parameter delete tool, the description is adequate but lacks information about return values or error handling, especially given the absence of an output schema and annotations. It does not fully cover what the agent should expect after execution, but it is sufficient for the basic operation.

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 coverage is 100% because the single parameter 'path' has a descriptive explanation with an example. The tool description adds no additional parameter information, so the 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 uses a specific verb ('Delete') and resource ('knowledge fragment'), clearly indicating the action. It also adds 'permanently' to convey irreversibility, distinguishing it from sibling tools like update_knowledge or add_knowledge.

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 provides no explicit when-to-use guidance or alternatives. It simply states what the tool does, leaving the agent to infer usage from the tool name and siblings. There is no mention of prerequisites or when to choose this over update_knowledge.

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/devkanro/knowledgebased'

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