Skip to main content
Glama

Edit a campaign draft (not sent)

update_campaign_draft
Idempotent

Changes the subject, body or recipient of a draft that is still a draft. Nothing is sent, and a draft the user already validated cannot be changed.

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": {
      "mission_id": "<mission_id>",
      "draft_id": "<draft_id>"
    },
    "name": "update_campaign_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo
bodyNo
subjectNo
draft_idYes
mission_idYesCampaign id, as returned by list_missions.

Output Schema

NameRequiredDescriptionDefault
draftYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / draft / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=true), the description adds two genuinely useful traits: nothing is transmitted, and validated drafts are immutable. It still omits what happens when only some fields are supplied and whether permissions or draft ownership matter.

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 short sentences, front-loaded with the mutation scope and followed immediately by the safety and precondition notes. No redundant restatement of the title or annotations.

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?

An output schema exists, so return values need no explanation, and the critical precondition plus the non-sending guarantee are stated. The main remaining gap is partial-update semantics for a 5-parameter mutation with sparse schema descriptions.

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 only 20%, so the description should carry more weight; it does map 'subject, body or recipient' to the subject/body/to parameters, but says nothing about them being optional partial updates, and mission_id/draft_id are left entirely to the schema.

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?

The description gives a specific verb and resource ('Changes the subject, body or recipient of a draft') and scopes it to drafts that are 'still a draft'. 'Nothing is sent' implicitly separates it from send_reply/draft_reply without naming them, so an agent can distinguish the intent, but no sibling is called out explicitly.

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?

It provides an explicit exclusion: a draft the user already validated cannot be changed, which tells the agent when this tool will fail. It does not name an alternative path (e.g. create_campaign_draft or validation tools) for the blocked case, so guidance is clear but not complete.

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.