Skip to main content
Glama

Update knowledge base

update_knowledge_base
Destructive

Rename a knowledge base, say what it holds (its description), or set its language, whether visitors may search it, or its monthly budget (clear_budget: none). A new language indexes it again. Its folder and how its index is built are changed on the Knowledge screen.

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": {
      "knowledge_base": "<knowledge_base>"
    },
    "name": "update_knowledge_base"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
languageNo
descriptionNo
clear_budgetNo
knowledge_baseYesThe knowledge base's name (or its id).
visitor_accessNo
budget_monthly_usdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, and the description adds one valuable behavioral fact beyond them: changing language triggers re-indexing. However, for a destructive 7-parameter update it says nothing about whether omitted fields are left untouched or cleared, and nothing about permission or irreversibility of the re-index — the omissions matter given destructiveHint=true.

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?

Front-loaded with the mutatable fields, then the re-index consequence, then the scope exclusion — a sensible ordering. Phrasing like 'say what it holds (its description)' and 'clear_budget: none' is slightly compressed to the point of ambiguity, but there is little 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 seven-parameter, destructive, partial-update tool with no output schema, the description covers the fields but leaves the central semantic gap unresolved: whether unspecified fields are preserved or wiped, and what the response confirms. Annotations handle the safety profile, so this is adequate rather than complete.

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 only 14%, so the description carries the load, and it does cover all seven parameters: rename (name), description, language, visitor search access, and budget with clear_budget. The one weak spot is 'clear_budget: none', which is cryptic about how the budget is cleared versus budget_monthly_usd being set.

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

Purpose4/5

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

The description names the specific attributes this tool mutates (name, description, language, visitor search access, monthly budget) and explicitly scopes out folder and index-build configuration, which are changed elsewhere. It clearly reads as an attribute-update tool rather than create/delete, though it never names a sibling tool outright.

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 is implied precisely by the enumerated fields, and the final clause ('Its folder and how its index is built are changed on the Knowledge screen') is a genuine scope exclusion pointing the agent away from this tool for those settings. No explicit 'when not to use' versus delete_knowledge_base or update_agent, but the domain is unambiguous.

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.