Skip to main content
Glama

Manage Knowledge

manage_knowledge
Destructive

Change a brand's Knowledge. capture saves a page, document, feed, media or text and ingests it; assign_purpose changes a source's purpose (Brand Truth, Inspiration, Research) or hides it from retrieval; archive removes a source from retrieval for good; retry requeues a failed ingestion. Pass brandId when the connection has no selected brand.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "manage_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputNoThe fields of the chosen action.
actionYescapture: Save page, document, feed, media or text to brand Knowledge and ingest it. assign_purpose: Change the purpose of a Knowledge source (Brand Truth, Inspiration, Research) and optionally hide it from retrieval. archive: Archive a Knowledge source so it never appears in retrieval again. retry: Requeue ingestion for a Knowledge source whose last attempt failed.
organizationNoOrganization this call acts in: its name, slug or id from get_context(action=organizations). Required when the connection covers several organizations (a call without it is refused with the list of organizations and their brands); a connection limited to one organization works inside it, so leave this argument out there (naming any organization is refused).

Output Schema

NameRequiredDescriptionDefault
dataNo
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, idempotentHint=false, so the safety burden is partly lifted; the description still adds value by making archive explicitly permanent ('removes a source from retrieval for good'), distinguishing soft hiding via assign_purpose from hard removal, and surfacing a one-credit cost for transcript generation. It omits whether capture is idempotent on duplicate URLs and what happens to an in-flight ingestion if archived, leaving some mutation semantics undisclosed.

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?

One dense, front-loaded paragraph that leads with the change semantics and puts the low-frequency organization note last; every clause about the four actions earns its place. The trailing brandId sentence is both extraneous and inconsistent with the actual schema parameters.

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?

Because an output schema exists and the input schema is fully described, the description needn't explain returns; the action semantics are covered well. What is missing is the mismatch between the mentioned brandId and the real organization parameter, plus any statement of permissions or the fact that capture is an ingestion job rather than an instant result.

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 100%, so the schema already defines kind, purpose, sourceId, transcriptUrl and the rest; the description adds little beyond grouping the fields by action. The one extra hint it offers — 'Pass brandId when the connection has no selected brand' — refers to a parameter that does not exist in the schema, which is closer to noise than added meaning.

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 names the resource (brand Knowledge) and enumerates all four actions with a specific verb-plus-effect for each: capture saves and ingests, assign_purpose changes purpose or hides, archive removes permanently, retry requeues a failed ingestion. An agent can distinguish this mutation tool from the read-side sibling get_knowledge without opening any schema.

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?

Usage context is given per action, including the qualifying condition for retry ('a failed ingestion') and for assign_purpose's optional hide. However, it never states when to prefer get_knowledge over this tool for reading, nor any prerequisite ordering (e.g., that retry only makes sense after a failure is observed). The closing routing note about brandId adds guidance but is not an alternative-selection rule.

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.