Skip to main content
Glama

Reorder Knowledge Base Articles

reorder_kb_articles
Idempotent

Set the order of the articles in one section, which is the order readers see on the section page, in the article sidebar and in previous/next links. The listed articles go first, in the order given; ones left out keep their current order after them, so moving one article to the top only needs its id. Every state counts, so a draft keeps its place for when it publishes. Returns the section's articles in the new order.

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>",
      "articleIds": "<articleIds>"
    },
    "name": "reorder_kb_articles"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionIdYes
articleIdsYes

Output Schema

NameRequiredDescriptionDefault
articlesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / articles / items / properties / versionNote
      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 (readOnly=false, idempotent=true, non-destructive): it explains the partial-order merge semantics, that omitted articles keep their position after the listed ones, that draft state is preserved, and that the call returns the section's articles in the new order. This is exactly the context an agent needs before mutating ordering.

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?

Four sentences, front-loaded with the action and visibility effect, then the merge rule, then the draft caveat, then the return value. No filler or restatement 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?

For a mutating, idempotent reorder with an output schema, the description covers semantics, side effects, and return value well. It is silent on permission requirements or whether the section must exist, which would round out the mutation contract.

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 0%, so the description has to compensate, and it does: it defines articleIds as an ordered, optional-membership list rather than a full replacement, and implies sectionId targets the single section being reordered. It could still spell out the parameter names explicitly, hence not a 5.

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?

Names a specific verb+resource (set the order of articles) and scopes it to a single section, which separates it from reorder_kb_sections. It also states the observable effect of the ordering: section page, sidebar, and previous/next links.

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?

Clear context for when this applies: ordering articles inside one section, with partial lists allowed so a single article can be moved to the top by id alone. It does not explicitly name an alternative tool or state exclusions, so it falls short of full when/when-not guidance.

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