Skip to main content
Glama

update_post

Destructive

Update a draft or scheduled post. X (Twitter): nothing sent to X may contain a link (URL, bare domain or t.co) — not the post, any thread segment, or a first comment (posted to X as a reply). The X API bills each link post at $0.20 vs $0.015, so the API rejects them; put a link-free version in platformContent.twitter.

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_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPost ID to update
utmNoPer-post UTM overrides. Pass `null` to clear all overrides (use user defaults). Omit to leave alone.
labelNoInternal working name shown in the dashboard. Pass null to clear. Never published.
mediaNoReplace the shared media array. Omit to leave existing media alone.
contentNoNew post text content
campaignNoRe-tag this post's campaign (sets utm.campaign). Pass null to clear.
postTypeNoExplicit post type; takes precedence over platformSettings flags. Same platform rules as create_post ('thread' is X/Twitter-only and needs threadSegments). Omit to leave the current type unchanged — a plain edit never downgrades a reel/short/story.
scheduleNoNatural-language reschedule: 'draft' (unschedule), 'today 20:30 Europe/Warsaw', 'tomorrow 07:00', 'in 2 hours', 'next week same time' (anchors on the post's current scheduled time). Use publish_post to publish immediately — 'now' is rejected here.
timezoneNoTimezone
scheduledForNoNew schedule time (ISO 8601), or empty string to unschedule
connectionIdsNoNew connection IDs
platformMediaNoPer-platform media overrides. Pass `null` to clear all overrides (every platform uses the shared `media` array). Omit to leave overrides unchanged.
threadSegmentsNoOrdered tweet segments for a thread (postType='thread'). 2–25 segments, each 1–280 characters.
platformContentNoPer-platform content overrides
platformSettingsNoPer-platform settings (e.g. { instagram: { isReel: true } }). TikTok posts need { tiktok: { privacyLevel } } (PUBLIC_TO_EVERYONE | MUTUAL_FOLLOW_FRIENDS | FOLLOWER_OF_CREATOR | SELF_ONLY) before they can be scheduled — this is how to repair a TikTok post that was created without one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare this is a destructive, non-idempotent write, so the safety profile is covered. The description adds genuinely non-obvious behavioral detail beyond that: X rejects any content containing a link (post, thread segment, or first comment) and bills differently, and it points to platformContent.twitter as the workaround. It still doesn't say that omitted fields are left untouched or that media overrides can be cleared, but those omission semantics are carried by the schema.

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?

Purpose is front-loaded in the first sentence, followed by a focused platform caveat that earns its space because it prevents a hard API rejection. The X paragraph is dense but relevant; nothing is padded.

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

Completeness3/5

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

For a 15-parameter destructive mutation with nested objects and no output schema, the description is thin on general update semantics (what gets replaced versus preserved, error behavior). It compensates with one high-value platform rule, but an agent must lean almost entirely on the schema and annotations for the rest.

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 100%, so the schema already documents all 15 parameters including the omit-vs-null clearing semantics. The description only adds one hint about where to place link-free X text (platformContent.twitter), which is a small increment over 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?

Names a specific verb and resource ('Update a draft or scheduled post') and implicitly scopes out already-published posts. It does not explicitly distinguish itself from sibling tools like create_post or publish_post, so it stops short of full sibling differentiation.

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 phrase 'draft or scheduled post' implies when the tool is applicable, but no alternative is named and there is no explicit when-not guidance (e.g. use publish_post for immediate publishing is only stated in the schema, not here). The X link rule is a usage constraint, not 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.