Skip to main content
Glama

Order knowledge base collections and articles

colliedesk_kb_order_set
Idempotent

Set the order of what sits directly under one collection (parent_id), or under the top when parent_id is left out: its collections first to last (collection_ids) and, under a collection, its articles first to last, drafts included (article_ids; the top holds no articles). Name every one outside the trash, each once: read them with colliedesk_kb_collections_list (parent_id) and colliedesk_kb_articles_search (collection_id, which lists them in their current order). When the lists miss one or name another, nothing changes and you are told to read them again. The help center, the collection's article list and the reply box's article picker follow the order. Each help center's home keeps an order of its own: at the top, help_center_id orders the collections shown on that help center (left out, the primary's). To undo, send the earlier order. It is safe to repeat.

Needs: kb_articles:update.

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_order_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
parent_idNoFrom colliedesk_kb_collections_list; leave it out for the top.
article_idsNo
collection_idsNo
help_center_idNoOne of colliedesk_help_centers_list; left out, the primary help center.

Output Schema

NameRequiredDescriptionDefault
parent_idYes
article_idsYes
collection_idsYes
help_center_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / help_center_id
      Added value: +{
      +  "description": "One of colliedesk_help_centers_list; left out, the primary help center.",
      +  "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      +  "type": "string"
      +}
    • addedOutput schema / properties / help_center_id
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the required permission (kb_articles:update), the all-or-nothing validation behavior ('nothing changes and you are told to read them again'), the downstream surfaces affected by the order (help center, collection article list, reply-box picker), drafts being included, the undo path, and repeat safety. This is rich operational context the structured fields do not carry.

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?

Front-loads the core action and then layers validation, effects, and undo in a logical sequence. The prose is dense and clause-heavy ('Set the order of what sits directly under one collection...'), and 'It is safe to repeat' restates idempotentHint, but little is genuinely wasted.

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?

An output schema exists, so return values need no explanation; the description instead covers the operation's atomicity, permission requirement, undo path, and downstream visibility. For a 4-parameter, zero-required reordering tool, nothing an agent needs in order to call it safely is missing.

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?

Schema coverage is 50%, and the description compensates by explaining that omitting parent_id targets the top, that the top accepts no articles, and that help_center_id scopes the ordering to a specific help center's home (primary by default). It leaves array size caps (1000/2000) and element-level semantics for collection_ids/article_ids mostly implied by their order.

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 and resource: sets the order of collections directly under a collection or top, and of articles under a collection. It also names the sibling read tools (colliedesk_kb_collections_list, colliedesk_kb_articles_search) so an agent can distinguish this writer from its readers without opening another schema.

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?

Gives concrete preconditions: read the current order with the two named tools first, include every item outside the trash exactly once, and resend the earlier order to undo. It does not explicitly state when not to use it (e.g., reordering across help centers or partial reorders), but the context is clear enough to act on.

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