Skip to main content
Glama

kb_sections

List knowledge base pages and sections for a site ID, returning folder flags and parent IDs to build a tree, and exclude system pages by default.

Instructions

Страницы и разделы базы знаний по её site_id (из kb_list). Возвращает плоский список с признаком раздела (is_folder) и родителем (parent_id) для построения дерева. Системные страницы (главная/поиск/сайдбар) по умолчанию скрыты. Требует право webhook 'landing'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNoТип базы; если не задан — определяется автоматически
site_idYesID базы знаний (поле id из kb_list)
include_urlsNoДобавить публичные URL страниц (доп. запрос). По умолчанию true
include_systemNoПоказывать системные страницы (SYS=Y): главная, результаты поиска, сайдбар. По умолчанию false
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It reveals that system pages are hidden by default, requires 'landing' webhook permission, and returns a flat list with parent pointers, which is valuable beyond 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is four concise sentences, each with distinct value: purpose, return format, default behavior, and permission requirement. No filler.

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?

Given no output schema or annotations, the description provides adequate context: purpose, input, permission, and defaults. However, it does not elaborate on the full response structure beyond is_folder and parent_id, leaving some ambiguity about what fields are returned.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents all parameters. The description adds context about site_id origin and the include_system default, which aligns with the schema but does not add new meaning.

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?

The description clearly states the tool returns pages and sections of a knowledge base by site_id, with a flat list structure including is_folder and parent_id, which distinguishes it from siblings like kb2_tree and kb_list.

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?

It specifies the use case 'for building a tree' and references site_id from kb_list, giving clear context for when to use. However, it doesn't explicitly exclude alternatives or name sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/imejaikin/bitrix24-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server