Skip to main content
Glama

Update Knowledge Base Section

update_kb_section
DestructiveIdempotent

Rename a section, change its slug, description, thumbnail, visibility, parent or outside readers (sharedWith), or set its name in the knowledge base's other languages (translations). Set parentId to a top-level section's id to nest it, or null to make it top-level again. A section that has sub-sections cannot be nested (400). thumbnailUrl set to null removes the card image.

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": {
      "sectionId": "<sectionId>"
    },
    "name": "update_kb_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
slugNo
parentIdNoId of a top-level section to nest under, or null for top-level.
positionNo
sectionIdYes
publishersNoRestrict who may create, move or publish articles in this section to these workspace members (user ids). Owners and admins always may, so an empty list means owners and admins only. null removes the restriction. A sub-section without its own list follows its parent. Only owners and admins can set it (403 otherwise).
sharedWithNoShare this top-level section with outside readers of a gated knowledge base, by email domain or address. They sign in and see only the sections shared with them; the knowledge base's own access list keeps full access. null or empty lists stop sharing. Sub-sections follow their parent and can't be shared themselves (400). Only owners and admins can set it (403 otherwise).
visibilityNo
descriptionNo
thumbnailUrlNoPublicly reachable image URL shown on the section's card. Whether it renders as a square tile or a 16:9 banner is a knowledge-base-wide setting, not a per-section one.
translationsNoPer-locale name/description. Merged by locale: languages you leave out are kept, null removes one. Only enabled, non-default locales.

Output Schema

NameRequiredDescriptionDefault
idNo
nameNo
slugNo
parentIdNo
positionNo
publishersNo
sharedWithNo
visibilityNo
descriptionNo
thumbnailUrlNo
translationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered; the description adds real context beyond that: a section with sub-sections cannot be nested and returns 400, and nulling thumbnailUrl removes the card image. It still does not warn that some fields (sharedWith, publishers) require owner/admin rights, leaving that to the schema.

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?

Four dense sentences, front-loaded with the field inventory followed by the two non-obvious constraints (nesting and thumbnail removal). Every sentence carries information; the opening enumeration is long but earns its length by mapping to real parameters.

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 an 11-parameter mutation tool with nested objects, the description covers the fields whose schema entries are empty (name, slug, description, visibility) and the tricky null semantics. An output schema exists so return values need not be explained; the only real omissions are 'position' ordering and the owner/admin restriction on restricted fields.

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 only 45% schema coverage, the description does valuable work: it names name, slug, description, thumbnail, visibility, parent, sharedWith and translations as the updateable set and explains the null/nesting semantics of parentId beyond the schema. It omits 'position' entirely and never explains ordering behavior, which is the main documented gap among the 11 parameters.

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 opens with a concrete verb ('Rename a section, change its slug...') and enumerates the mutable surface of a knowledge base section, so an agent knows exactly what resource is being modified. It is clearly an update operation distinct from create_kb_section/delete_kb_section by name and behavior, though it never names a sibling explicitly.

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?

Operational conditions are stated for specific parameters (nesting rules, null to un-nest, null thumbnail removes the image), which implies how to call it. However, there is no explicit guidance on when to prefer this tool over update_knowledge_base or create_kb_section, and no mention of prerequisites or exclusions at the tool level.

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