Skip to main content
Glama

List Knowledge Base Sections

list_kb_sections
Read-onlyIdempotent

The knowledge base's sections, in display order. Every article belongs to one. Sections nest one level deep: a section with a parentId is a sub-section of that top-level section; position orders siblings.

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": "list_kb_sections"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
sectionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds real structural behavior beyond that: sections nest exactly one level deep, a sub-section is identified by having a parentId, and position orders siblings — details no annotation conveys.

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 short sentences, front-loaded with what is returned, then the ordering rule, then the nesting rule. No filler and no repetition of the title.

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?

Complete for a no-parameter list tool whose output schema documents the return values; the hierarchy rules are spelled out on top of that. Minor omissions such as whether all sections are returned or how deep the tree can be are acceptable here.

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?

Zero input parameters, so the baseline is 4; there is nothing to disambiguate. The description's explanation of parentId and position is technically output-field semantics, useful but redundant given a declared output schema.

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?

Identifies the resource precisely ("The knowledge base's sections") and its ordering ("in display order"), and the title supplies the verb. It does not, however, distinguish itself from siblings like list_kb_articles or create_kb_section, so an agent must infer the boundary itself.

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?

Usage is only implied: the description explains the hierarchy but never says when to call this versus list_kb_articles, nor that it is the prerequisite for update_kb_section/reorder_kb_sections. For a zero-argument list tool the implied context is enough to act on, but no explicit when/when-not guidance is given.

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