Skip to main content
Glama

Change a Pro draft

edit_pro_draft

Change a Pro draft's texts, images and colors (the same operations as create_pro_draft: set, recolor, video's background). Send revision to be sure nobody changed it since you read it (a stale one is refused). Returns the new revision and warnings.

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": {
      "draftId": "<draftId>",
      "editToken": "<editToken>",
      "ops": "<ops>"
    },
    "name": "edit_pro_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
opsYes
draftIdYesThe draft's id (draftId).
revisionNoThe revision you read.
editTokenYesThe editToken the draft came with.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive mutation, so the baseline is lower. The description adds genuinely useful behavior: stale revisions are refused (optimistic concurrency), the response carries a new revision plus warnings, and layout/timing/animation are owned by the template. It still omits atomicity of the ops array, what happens on partial failure, and whether editToken implies any permission scope.

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?

Three sentences, purpose front-loaded, no filler. The revision sentence is slightly tangled ('Send revision to be sure nobody changed it since you read it'), which costs a little clarity.

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 mutating edit tool with no output schema, the description covers the essentials: what changes, that the template controls non-editable aspects, the concurrency guard, and what is returned. Remaining gaps (atomicity, failure modes) are real but secondary for this complexity level.

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 75% and the nested ops union is already richly documented with per-field descriptions, so the schema does most of the work. The description's contribution is naming the three op families and cross-referencing create_pro_draft for their full semantics, plus the stale-revision rule for the optional revision param; it adds no format-level detail beyond that.

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 ('Change a Pro draft's texts, images and colors') and scopes it against a named sibling by saying the operations are the same as create_pro_draft. The 'Pro' qualifier implicitly separates it from the generic update_draft, but that distinction is never spelled out.

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?

Usage is only implied: an agent infers this is the mutation path for an existing Pro draft, but the description never says when to prefer it over update_draft or create_pro_draft. The revision sentence reads as a correctness tip rather than tool-selection guidance.

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