Skip to main content
Glama

Update knowledge base

update_knowledge_base

Rename a knowledge base (name 1 to 120 characters).

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

Input Schema

NameRequiredDescriptionDefault
nameYes
project_idYesThe workspace project the knowledge base belongs to.
organization_idNoOptional. Defaults to the authenticated workspace; when supplied it must be that workspace's id.
knowledge_base_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the mutation profile is known. The description adds only the name-length constraint, which is a schema fact rather than behavioral context; it says nothing about name collisions, whether the rename is reversible, or what error conditions apply. For a mutation tool that is a meaningful gap.

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?

One short sentence, front-loaded with the verb and scope, with zero filler. Nothing would be lost by keeping it this size, given the gaps lie in coverage rather than verbosity.

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

Completeness2/5

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

A four-parameter mutation tool with no output schema needs the description to carry more than this. It covers only the name argument, leaving the identifier semantics and post-conditions (does the rename take effect immediately, is anything else affected) unaddressed.

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

Parameters2/5

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

Schema coverage is only 50%: project_id and organization_id carry their own descriptions, while knowledge_base_id and name do not. The description restates the name length bounds already encoded as minLength/maxLength in the schema, and does not explain what knowledge_base_id refers to or how it is obtained. It therefore does not compensate for the coverage gap.

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?

States a specific verb ('Rename') and resource ('a knowledge base'), which actually narrows the scope beyond what the generic name update_knowledge_base implies. An agent can tell this only changes the name, not other settings. Sibling differentiation against create/get/list_knowledge_bases is implicit from the verb, not stated.

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?

No when-to-use or when-not-to-use guidance, and no mention of alternatives such as create_knowledge_base or get_knowledge_base. The only usage signal is the parenthetical character range, which is a constraint rather than guidance.

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.