Skip to main content
Glama

reorder_plot_nodes

Reorders multiple plot beats in a single atomic batch, validating every ID before writing so one invalid beat rejects the entire update and no positions change.

Instructions

Set the position of many beats in one call. Unlike reorder_chapters — which the server has no batch route for, so it walks chapter by chapter and can stop half way — this is a single transaction: every id is checked before anything is written, and one unreachable id rejects the whole batch without moving a beat. Send only the beats whose position changes; ids may span chapters.

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": {
      "nodes": "<nodes>"
    },
    "name": "reorder_plot_nodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodesYesBeats and their new positions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.1

TDQS

A4.5/5.0
Behavior5/5

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

With annotations only covering safety hints (readOnlyHint=false, destructiveHint=false, openWorldHint=true), the description carries the real behavioral burden and does so: it discloses all-or-nothing transactionality, pre-validation of every id, and rejection of the entire batch on a single bad id. This is exactly the failure-mode context an agent needs and would be invisible from structured fields alone.

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?

Three sentences, front-loaded with the primary action, and every clause is load-bearing. The em-dash aside about reorder_chapters is dense but explains why the tool exists; the only cost is slightly harder parsing, not wasted words.

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 single-parameter batch mutation with full annotation coverage, the definition covers atomicity, validation, and payload scoping. It does not say what the call returns or whether the response reports which nodes moved — a small gap given there is no output schema to fall back on.

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 description coverage is 100%, so the baseline is 3; the description earns a point by adding semantics the schema cannot express — that the list is sparse (only changed beats) and that ids may cross chapter boundaries. It still says nothing about the ordering domain beyond what the schema's min/max already states.

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 opens with a specific verb and resource ("Set the position of many beats") and immediately scopes it as a batch operation, which distinguishes it from the single-chapter reorder_chapters sibling. An agent can tell from the first sentence that this is bulk positional reordering, not creation or listing.

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 gives concrete usage rules: send only the beats whose position changes, and ids may span chapters — both of which directly affect how the agent should build the payload. It also contrasts behavior with reorder_chapters, though it never explicitly says to prefer that tool when the reorder is confined to one chapter, leaving the routing decision to inference.

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