Skip to main content
Glama

List knowledge base collections

colliedesk_kb_collections_list
Read-only

List the collections of the knowledge base outside the trash, as a flat list with parent_id (at most six levels deep), ordered by parent, position and name, each with how many articles it holds. Collections in the trash are in colliedesk_kb_collections_trash.

Needs: kb_articles:read.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
collectionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / collections / items / description
      Added value: +"Same shape as `collection` in colliedesk_kb_collection_create's output."
    • removedOutput schema / properties / collections / items / properties
      Removed value: -{
      -  "article_count": {
      -    "type": "integer"
      -  },
      -  "deleted_at": {
      -    "type": "string"
      -  },
      -  "deleted_by": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "description": {
      -    "type": "string"
      -  },
      -  "id": {
      -    "type": "string"
      -  },
      -  "name": {
      -    "type": "string"
      -  },
      -  "parent_id": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "position": {
      -    "type": "integer"
      -  },
      -  "purges_at": {
      -    "type": "string"
      -  },
      -  "slug": {
      -    "type": "string"
      -  },
      -  "translations": {
      -    "description": "Its name and description in the help center's other languages (colliedesk_kb_collection_translation_set).",
      -    "items": {
      -      "properties": {
      -        "description": {
      -          "type": "string"
      -        },
      -        "imported": {
      -          "type": "boolean"
      -        },
      -        "locale": {
      -          "type": "string"
      -        },
      -        "name": {
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "updated_at": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / collections / items / required
      Removed value: -[
      -  "id",
      -  "parent_id",
      -  "name",
      -  "slug",
      -  "description",
      -  "position",
      -  "article_count",
      -  "updated_at"
      -]
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

The annotations already mark this as a read-only, non-destructive operation. The description adds useful behavior beyond annotations: it states the trash exclusion, flat-list shape, parent_id depth limit, ordering rules, article count inclusion, and required permission kb_articles:read.

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 front-loaded with the core action and scope, then adds the minimal necessary constraints and the trash alternative. It is dense but not bloated, with no redundant sentences.

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

Completeness5/5

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

Given the lack of input parameters, the presence of an output schema, and the supplied annotations, the description includes all the context an agent needs: scope, exclusion, hierarchy depth, ordering, article counts, and permission requirements.

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?

This tool has zero parameters, so there are no parameter semantics to clarify beyond the schema. The baseline for a no-parameter tool is 4, and the description appropriately avoids unnecessary parameter detail.

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 uses a specific verb and resource: it lists knowledge base collections outside the trash. It also distinguishes scope from the trash sibling and adds concrete structure (flat list, parent_id depth, ordering, article counts), so the agent can identify exactly what the tool returns.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It explicitly excludes trashed collections and routes them to colliedesk_kb_collections_trash. For a no-parameter list tool, that is sufficient guidance about when to use this tool versus the closest alternative.

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