Skip to main content
Glama

AfterLaunch: the growth agent for your product

Update output draft

redraft_output
Destructive

Replace a drafted marketing output's body before it is shipped. Manual replacement only: the AI redraft stays in the app. A draft carrying an unfilled placeholder or a broken link is refused, and the previous draft is kept as revision history. Free; requires the 'act' scope and any paid plan.

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": {
      "output_id": "<output_id>",
      "draft": "<draft>"
    },
    "name": "redraft_output"
  }
}

Input Schema

NameRequiredDescriptionDefault
draftYesThe replacement draft body, 1 to 20000 characters.
output_idYesOutput id (uuid), from list_outputs.
draft_fenceNoFor a content pilot edit, return draft_fence unchanged from get_move or get_output. Refresh after a conflict.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / draft_fence
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "For a content pilot edit, return draft_fence unchanged from get_move or get_output. Refresh after a conflict.",
      +  "properties": {
      +    "attempt_id": {
      +      "format": "uuid",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "candidate_id": {
      +      "format": "uuid",
      +      "type": "string"
      +    },
      +    "draft": {
      +      "maxLength": 20000,
      +      "type": "string"
      +    },
      +    "job_id": {
      +      "format": "uuid",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "job_state": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "job_updated_at": {
      +      "format": "date-time",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "move_id": {
      +      "format": "uuid",
      +      "type": "string"
      +    },
      +    "move_state": {
      +      "type": "string"
      +    },
      +    "move_updated_at": {
      +      "format": "date-time",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "move_id",
      +    "move_state",
      +    "move_updated_at",
      +    "job_id",
      +    "attempt_id",
      +    "job_state",
      +    "job_updated_at",
      +    "candidate_id",
      +    "draft"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / output_id / description
      Previous value: -"The drafted output id (uuid), from list_outputs."New value: +"Output id (uuid), from list_outputs."
  3. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: validation refusals (unfilled placeholder, broken link cause the write to be rejected), retention semantics (previous draft preserved as revision history, mitigating destructiveHint=true), and access prerequisites ('act' scope plus any paid plan, free of charge). These are exactly the operational facts an agent needs before a mutating call.

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?

Four short sentences, front-loaded with the action and immediately followed by the disambiguation, then refusals, retention, and cost/scope. Nothing is redundant, though 'the AI redraft stays in the app' is slightly cryptic phrasing that could be tightened.

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 destructive, nested-object mutation with no output schema, the description covers validation, retention, and authorization/cost. What is missing is any hint of what the call returns (e.g., revision identifiers) and how the draft_fence conflict flow surfaces to the caller beyond the schema note.

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 description coverage is 100%, with the draft length bound and output_id provenance documented in-schema, and the draft_fence/conflict-refresh semantics also spelled out there. The description adds no further parameter meaning (no format, no fence conflict rules), so the baseline 3 applies.

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?

States a specific verb and resource: 'Replace a drafted marketing output's body before it is shipped.' The clarifying line 'Manual replacement only: the AI redraft stays in the app' disambiguates it from an AI-generating operation, which matters given the tool name. It never explicitly contrasts with the similar sibling update_draft, so it stops short of a 5.

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?

Gives timing context ('before it is shipped') and a clear mode constraint ('manual replacement only'), which implies when the tool is appropriate. However, it offers no explicit when-not guidance and never names an alternative tool (e.g., update_draft) for the AI-redraft path, leaving the agent to infer routing.

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.