Skip to main content
Glama

Удалить базу или материал

knowledge_delete
Destructive

Delete a knowledge document from the base, or remove the entire knowledge base including materials and vectors. Use confirm_name when deleting the whole base. Irreversible.

Instructions

С параметром document удаляет один материал, без него — базу знаний целиком вместе со всеми материалами и векторами. Восстановить нельзя.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseYesБаза знаний: название или идентификатор.
caseNoДело: название или идентификатор. Если не указать, берётся дело по умолчанию, иначе последнее открытое в панели.
documentNoИдентификатор материала. Без него удалится вся база.
confirm_nameNoТочное название базы — обязательно при удалении базы целиком.
Behavior5/5

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

Adds critical behavioral context beyond annotations: deleting the base removes all materials and vectors, and the operation is irreversible. This meaningfully complements the destructiveHint annotation and warns the agent about the severe consequence.

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?

Two concise, front-loaded sentences with no filler. Every word contributes to understanding the tool's behavior and risks.

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

Completeness5/5

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

For a destructive deletion tool, the description covers scope (single vs whole base), consequences (materials and vectors removed), and reversibility. Combined with the schema and annotations, it provides a complete picture without needing an output schema.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds semantic value by explaining the conditional role of the document parameter: its presence vs absence changes the operation from single-item deletion to full-base deletion, which is not obvious from the schema alone.

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?

Description specifies the resource (knowledge base/material) and the exact behavior: with the document parameter it deletes one material, without it deletes the entire base. This clearly distinguishes it from sibling knowledge_* tools.

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

Usage Guidelines4/5

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

Provides clear conditional usage: presence of the document parameter leads to single-material deletion; absence leads to whole-base deletion. It doesn't explicitly name alternatives, but among siblings this is the only delete tool for knowledge items, so the context is sufficient.

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/uk-kd/operbots-mcp'

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