Skip to main content
Glama

Rewrite a line of the report being written

qa_draft_edit

Replaces a block at a given position in a QA draft so edited titles, findings, or screenshots stay where they belong instead of shifting to the document end.

Instructions

REPLACE THE LINE AT at with a new block. The position comes from qa_draft. This is the verb for the wording — a finding whose title reads badly, an «expected» a person has now stated, a picture pointed at the right shot. Deleting and re-adding would put it at the END of the document, which is rarely where it belongs.

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>",
      "block": "<block>"
    },
    "name": "qa_draft_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
atYesThe position from qa_draft.
blockYesWhat that line becomes. It may be a different KIND of block.
tabIdNoTarget tab (from qa_tabs); omit for the active tab

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.86.2

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does add non-obvious behavior: replacement is in-place, and remove/re-add would relocate content to the document end. It does not cover what happens with an out-of-range `at`, whether the edit is undoable, persistence, or required tab 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?

Three short sentences, front-loaded with the imperative, followed by provenance of `at` and the rationale. The parenthetical examples are tight and every sentence carries distinct information.

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?

The block union is complex but fully described in the schema, and the description supplies the rationale for in-place editing. Missing is any note on failure modes, whether the block kind may change the position's meaning, or how tabId interacts with the `at` index.

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 100%, so all three parameters (including the anyOf block variants) are already documented. The description only restates that `at` comes from qa_draft, which the schema also says, adding no new syntax or constraint information.

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?

A specific verb and target: "REPLACE THE LINE AT `at` with a new block," scoped to the report draft and tied to positions from qa_draft. It clearly differs from appending, but it never names the sibling tools it parallels (e.g. add/move/drop), leaving that differentiation implicit.

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 tells the agent when to reach for this verb (rewording a finding title, adding an «expected» a person stated, retargeting a shot) and explains the alternative's failure mode: delete-then-add pushes content to the end of the document. No explicit when-not-use or tool-name alternative is given, but the routing logic is clear.

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