Skip to main content
Glama

Update Knowledge Base

update_knowledge_base
DestructiveIdempotent

Change the knowledge base's name, slug, locales, visibility (public, or gated behind sign-in), sign-in access or tags. Changing the slug changes the public URL — existing links break unless you add a redirect. access is merged: fields you leave out are kept. tags is the full replacement list: keep a tag's id to rename it, omit a tag to delete it (it is pulled from every article).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_knowledge_base"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
slugNo
tagsNo
accessNo
visibilityNo
defaultLocaleNo
enabledLocalesNo

Output Schema

NameRequiredDescriptionDefault
idNo
urlNo
nameNo
slugNo
tagsNo
accessNo
visibilityNo
defaultLocaleNo
enabledLocalesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, yet the description still earns credit by specifying what is destroyed: existing public links break on a slug change, and omitting a tag deletes it and pulls it from every article. It also discloses the asymmetric merge semantics for `access` (fields left out are kept), which is a behavioral trait no annotation or schema field conveys. It stops short of stating permission requirements or whether other top-level fields are merge-style too.

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?

Three tight sentences with zero filler. Breaking-change warnings (slug → broken links, tag omission → deletion) are front-loaded and the merge/replace contrast is stated in parallel form, making it scannable.

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?

For a 7-parameter, 0-required, nested-object mutation with an output schema and annotations, the description covers the riskiest semantics (destructive slug change, tag deletion, access merge). It leaves open whether omitted top-level fields like name, slug, or locales are preserved — an important gap for an all-optional patch-style update.

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?

With top-level schema description coverage reported at 0%, the description carries real weight: it explains that `tags` is a full replacement list where keeping an id renames and omitting deletes, and that `access` merges rather than replaces. The schema's nested access descriptions cover authMethod/openSignup details, but the description does not clarify the defaultLocale vs enabledLocales distinction or the exact public/gated meaning beyond 'gated behind sign-in'.

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 (Change) plus the exact resource (the knowledge base) and enumerates the mutable facets: name, slug, locales, visibility, sign-in access, tags. This is enough for an agent to distinguish it from create_knowledge_base, get_knowledge_base, and delete_knowledge_base 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 Guidelines3/5

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

The description is entirely about how to update, not when to pick this over siblings; no alternative or prerequisite is named. Useful conditional guidance exists (add a redirect if you change the slug; tags are replaced wholesale), but the agent must infer that this tool is for modifying an existing KB while create_knowledge_base makes a new one.

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