Skip to main content
Glama

All's Well

Change a draft

change-draft

Change a draft that is still waiting for review. Send only the fields to change; the rest stay. Which fields apply depends on the draft's type: a new notice takes any of draft-notice's fields, an update takes stage, message and ends_at, a correction takes message. Nothing is published or emailed until a person opens the review link and publishes it. Give them the link. If the person already has the review page open, they'll be asked to review it again before publishing.

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": {
      "status_page": "<status_page>",
      "draft_id": "<draft_id>"
    },
    "name": "change-draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoNew-notice drafts only.
stageNoNew-notice and update drafts.
titleNoNew-notice drafts only. One line, up to 150 characters.
ends_atNoNew maintenance drafts, and update drafts on a maintenance notice: ISO 8601 with an offset.
messageNoAny draft. Plain words, up to 5,000 characters.
draft_idYesThe draft to change (from list-notices, or what a draft tool returned).
starts_atNoNew maintenance drafts only: ISO 8601 with an offset.
server_idsNoNew-notice drafts only. Replaces the list.
monitor_idsNoNew-notice drafts only. Replaces the list.
status_pageYesThe status page's id (get-project lists them).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the destructiveHint=false annotation, it discloses partial-update semantics ('send only the fields to change; the rest stay'), the draft-type field matrix, and the crucial non-publish guarantee with the review-link handoff and re-review-if-open behavior. This is substantial behavioral context the annotations do not carry.

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?

Front-loads the purpose, then layers partial-update rule, field matrix, and publish workflow in a logical order. Sentences are dense with signal and none are filler.

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

Completeness5/5

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

For a 10-param mutation with full schema coverage and no output schema, it covers the partial-update contract, type-dependent field applicability, and the deferred-publish outcome. Nothing an agent needs to call it correctly appears missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so per-parameter meaning is already documented, but the description consolidates the conditional logic into readable rules mapping draft types (new notice / update / correction) to applicable fields. This adds interpretation value over the individual field descriptions, though it largely restates what the schema implies.

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 ('Change a draft') and adds the operative scope 'still waiting for review', which separates it from draft-notice (creation likely) and discard-draft. An agent can identify the operation without inferring from the title alone.

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?

Gives a clear condition for use (a draft awaiting review) and describes which fields apply per draft type, which is real contextual guidance. It does not, however, explicitly route to alternatives such as creating a new draft or discarding one, leaving that inference to the sibling set.

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