Skip to main content
Glama

Edit draft

update_draft
DestructiveIdempotent

Change a draft’s title, text, thread posts, or destinations. Read get_draft first and send its version as expectedVersion; a draft changed since is left alone. On a thread, send the complete list of posts, keeping the ids of posts to keep. Editing never changes a post already scheduled: it keeps the text it was scheduled with until schedule_post is called again for it. On a team, an edit leaves any approval behind, so the draft needs review again.

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": {
      "contentCardId": "<contentCardId>",
      "expectedVersion": "<expectedVersion>"
    },
    "name": "update_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
contentNo
threadPostsNo
contentCardIdYesThe draft’s content card id, from create_draft or get_calendar.
expectedVersionYesThe version get_draft returned. A draft changed since is left alone, so a newer edit is never replaced.
destinationPlatformsNo

Output Schema

NameRequiredDescriptionDefault
idNoId of the created or changed record, when there is one.
urlYesWhere the user can see the result in Distinctful.
doneYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / destinationPlatforms / items / enum
      Previous value: -[
      -  "THREADS",
      -  "TWITTER",
      -  "LINKEDIN",
      -  "BLUESKY",
      -  "INSTAGRAM",
      -  "TIKTOK",
      -  "YOUTUBE",
      -  "FACEBOOK",
      -  "PINTEREST"
      -]New value: +[
      +  "THREADS",
      +  "TWITTER",
      +  "LINKEDIN",
      +  "BLUESKY",
      +  "INSTAGRAM",
      +  "TIKTOK",
      +  "YOUTUBE",
      +  "FACEBOOK",
      +  "PINTEREST",
      +  "MASTODON",
      +  "DISCORD"
      +]
    • changedInput schema / properties / destinationPlatforms / maxItems
      Previous value: -9New value: +11
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), it discloses the optimistic-concurrency contract, that a stale edit is left alone rather than overwriting, that scheduled posts keep their original text until re-scheduled, and that a team approval is cleared and re-review is required. These are exactly the mutation side effects an agent would otherwise not know before calling.

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?

Five sentences, front-loaded with the change surface, then the concurrency rule, then the two edge cases. Each sentence carries a distinct behavioral fact (concurrency, thread completeness, scheduled-post freeze, approval reset); no restatement of the tool name or annotations.

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 destructive, non-open-world mutation tool with 6 parameters and an output schema, the definition covers the workflow, the concurrency failure mode, and the two non-obvious side effects. Return values need not be described because an output schema exists, so nothing essential is 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 description coverage is only 33%, and the description compensates for the two hardest parameters: expectedVersion (taken from get_draft, causes a no-op on mismatch) and threadPosts (must be the complete list, retaining ids of posts to keep). It does not clarify whether omitting title/content leaves them unchanged or whether destinationPlatforms replaces the full set, leaving two undocumented parameters partially unaddressed.

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?

"Change a draft's title, text, thread posts, or destinations" is a specific verb plus resource plus the exact mutable facets, so an agent can immediately tell this is a partial-update tool for an existing draft rather than a create/delete/schedule tool. It also implicitly scopes itself apart from get_draft (read first) and schedule_post (needed for already-scheduled posts).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It states an explicit prerequisite workflow ("Read get_draft first and send its version as expectedVersion") and names the sibling to use when a post is already scheduled (schedule_post). It also gives the condition under which an edit silently does nothing (version mismatch) and the condition under which an approval is invalidated, so the agent knows when and when not to expect this call to take effect.

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