Skip to main content
Glama
SocialDesk MCP Server

SocialDesk MCP Server

Official

Update a draft

update_a_draft
Destructive

Modify a draft's caption, media, or target accounts without publishing. Only specified fields change, and media and account lists replace existing selections.

Instructions

Change a draft's caption, media or target accounts. Only the fields you pass change; mediaUrls and selectedAccountIds replace the current lists. Nothing is posted.

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": {
      "id": "<id>"
    },
    "name": "update_a_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
captionNo
mediaUrlsNo
selectedAccountIdsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only flag destructiveHint=true and openWorldHint=false; the description adds the crucial mutation semantics — partial update ('only the fields you pass change') and list-replacement behavior for mediaUrls and selectedAccountIds — which is exactly the kind of context annotations cannot convey. 'Nothing is posted' also clarifies the side-effect boundary. Not a contradiction, though the destructive hint and the reassuring tone sit in mild tension that the description never reconciles.

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?

Three short sentences, front-loaded with the action, then the update semantics, then the side-effect caveat. No wasted wording.

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 four-parameter mutation with no output schema, this covers what an agent needs: what changes, how lists behave, and that no publish occurs. The remaining gap is what 'id' refers to (draft ID) and error behavior if a draft is already published.

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 0%, so the description carries the burden: it explains that mediaUrls and selectedAccountIds are wholesale replacements rather than appends, and that omitted fields are left untouched — semantics the bare schema cannot express. It leaves 'id' and 'caption' unelaborated, which is a minor gap given how self-evident they are.

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 ('Change') and resource ('a draft') plus the mutable fields (caption, media, target accounts), which distinguishes it from update_a_post and create_a_draft. It stops short of naming the sibling it replaces, but the draft-vs-post distinction is unambiguous.

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?

The closing 'Nothing is posted' implies this is the pre-publish editing path rather than publish_a_post_to_one_or_more_connected_accounts, but it never explicitly says when to use this instead of update_a_post or create_a_draft. Usage is implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.