Skip to main content
Glama

Empty the report being written

qa_draft_clear

Discard an unwanted form draft when abandoning work; read the draft first because clearing is irreversible and building already empties it.

Instructions

THROW THE DRAFT AWAY. There is no undo anywhere in this product, and the draft may be an hour of somebody else’s work — read qa_draft first and say what is in it before calling this. Building already empties it; this is for abandoning one.

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": "qa_draft_clear"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.86.2

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations at all, the description carries the full behavioral burden and does the important part well: it discloses irreversibility ("no undo anywhere in this product") and the magnitude of loss ("an hour of somebody else's work"), which is exactly the risk an agent needs before a destructive call. It stops short of saying what the tool returns or what state the draft is left in afterward, so it is not fully exhaustive.

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, each doing distinct work: the destructive warning first, the data-loss and prerequisite second, the sibling differentiation last. The capitalized opening is deliberate emphasis on a destructive action rather than padding, and nothing is repeated.

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 one-parameter destructive tool with no annotations and no output schema, the description supplies the risk profile, the precondition, and the alternative path, which is close to everything an agent needs. Only the post-call state and return behavior are unaddressed, a minor gap given there is no output schema to imply one.

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?

Only one parameter, tabId, and the schema already documents it at 100% coverage, including the default-to-active-tab behavior. The description adds no syntax, format, or edge-case meaning beyond the schema, so the baseline applies.

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 (throw away / clear the draft) and explicitly distinguishes itself from the sibling that shares this effect: "Building already empties it; this is for abandoning one." An agent can tell it apart from qa_draft_build and qa_draft_drop without opening any schema.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use condition (abandoning rather than building a draft), names the alternative that makes it redundant, and adds a prerequisite step: read qa_draft and report its contents before calling. That is when/when-not plus a safe ordering of operations.

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