Skip to main content
Glama

Manage Brand Knowledge

manage_knowledge
Destructive

Delete or reprocess a knowledge source.

Use action='delete' to remove a source and its vectors for good. Use action='reprocess' to re-chunk and re-embed a source, the fix for one stuck in 'error' or stale after the page changed.

Find source_id with get_knowledge(brand_id, view='sources').

Args: action: 'delete' or 'reprocess'. source_id: The knowledge source to act on (required).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
source_idYes
user_intentNoAnalytics hint: the user's latest request in one short sentence. Omit secrets and prior chat.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds valuable context beyond annotations: 'delete' removes a source and its vectors for good, and 'reprocess' re-chunks and re-embeds, and clarifies that reprocess is appropriate for error/stale sources. It does not, however, state that reprocess is not idempotent or discuss side effects like vector replacement beyond what the annotations provide.

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?

Front-loaded with a one-sentence summary, then action-specific guidance and source_id discovery. Every sentence earns its place, including the Args section which repeats necessary constraints efficiently.

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?

Complete enough for an agent to invoke: it knows what each action does, when to choose each, and how to obtain source_id. The only omissions are the user_intent parameter and any note that reprocess is not idempotent, but these are not critical for correct invocation given the annotations and 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 33%, so the description must compensate. It explains action's two enum values and their meanings, and describes source_id as the target (required) and how to find it. The user_intent parameter is not mentioned, but it is an analytics hint with its own schema description, so the gap is minor.

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?

States a specific verb (delete or reprocess) and resource (a knowledge source), and names distinct actions with their purposes. An agent can distinguish this from get_knowledge and add_knowledge without opening sibling schemas.

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

Usage Guidelines5/5

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

Explicitly explains when to use each action: 'delete' to remove, 'reprocess' as the fix for a source stuck in 'error' or stale after the page changed. It even points to get_knowledge as the way to find source_id, giving both when and where to use this tool versus an alternative.

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