Skip to main content
Glama

Move a line of the report being written

qa_draft_move

Move a line within a draft document from one position to another. Use this once the structure is clear to finalize line order.

Instructions

MOVE THE LINE AT at TO to. Both are positions from qa_draft. A document usually needs this once, at the end, when the shape is clear.

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": {
      "at": "<at>",
      "to": "<to>"
    },
    "name": "qa_draft_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
atYes
toYes
tabIdNoTarget tab (from qa_tabs); omit for the active tab

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.86.2

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, and it leaves out the traits that matter most for a move operation: whether `to` is interpreted before or after the line is lifted out, whether positions are 0- or 1-indexed, and what happens on out-of-range indices. It does add one useful behavioral fact — that both positions come from qa_draft — but says nothing about the tabId scope or the return state.

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?

Two sentences, front-loaded with the imperative and the parameter names, with no filler. The second sentence adds real routing context rather than restating the first.

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

Completeness3/5

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

For a mutation tool with no annotations and no output schema, the essentials of what moves where are present, but index semantics, error behavior, and the effect of tabId are absent. The description is adequate to attempt a call but not to predict its result confidently.

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 only 33% (only tabId is described), so the description must compensate for the two bare integers. It does identify `at` and `to` as line positions sourced from qa_draft, which is genuinely useful, but it omits index base, valid range, and destination semantics — the exact ambiguity an agent needs resolved for this parameter pair.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb (move) and resource (a line of the report draft), with the source and destination identified as `at` and `to`. It is clearly a reordering operation, distinguishable from qa_draft_add or qa_draft_edit by implication, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

"A document usually needs this once, at the end, when the shape is clear" gives real timing guidance — a rare, late-stage operation. However, it never states when NOT to use it or names the alternative for inserting, deleting, or editing lines (qa_draft_add, qa_draft_drop, qa_draft_edit).

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