Skip to main content
Glama

Save the planned autopilot caption

apply_autopilot_caption_edit
Destructive

Save the caption exactly as plan_autopilot_caption_edit showed it. Single-use token; refused, saving nothing, if the post or its caption changed since it was planned, or it is already going out.

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": {
      "change_token": "<change_token>"
    },
    "name": "apply_autopilot_caption_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
change_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare a destructive, open-world mutation; the description adds real value beyond them by disclosing single-use token semantics, optimistic-concurrency validation (refused if the post or caption changed), atomic failure ("saving nothing"), and the in-flight guard ("already going out"). It leaves success-side behavior and permissions unstated.

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 tight sentences with the required precondition front-loaded and the failure modes packed into one clause; no filler or restatement of the title.

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 one-parameter commit tool with no output schema, the description covers prerequisites, failure modes, and atomicity well. The main gap is what a successful save actually does (immediate publish vs queued) and what an agent should do after a refusal.

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 0% for the single change_token, so the description carries the burden; it partially compensates by labeling the token "single-use" and implicitly sourcing it from plan_autopilot_caption_edit. It never states the token's exact provenance or expected format, so some inference remains.

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?

Specific verb ("Save") plus resource ("the caption") with an explicit tie to the plan_autopilot_caption_edit output, so it's unmistakably the commit step of a plan/apply pair. An agent can distinguish it from the plan_* siblings 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 Guidelines4/5

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

The description makes the workflow order clear (save what plan_autopilot_caption_edit showed) and states the refusal conditions, which effectively tells the caller to re-plan rather than retry with a stale token. It stops short of naming the re-plan call explicitly or stating that a fresh plan is required after a refusal.

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.

Resources