Skip to main content
Glama

update_post

Destructive

Change a draft or scheduled post; returns it as saved, with its links.

On a published post, text alone changes the live post on LinkedIn, Facebook, Mastodon, Telegram, Discord, Google Business Profile, Pinterest and Slack (needs the publish scope). People already see it: show the user the new text and get their yes first. Other platforms cannot edit a live post, except a published YouTube video or Short: platform_options={"thumbnailUrl": ...} alone replaces its custom thumbnail.

account_id moves the post to another account (its platform follows). The same idea on another account with its own copy is a new draft. post_ids makes the same change on up to 50 posts in one call (e.g. status: "draft" unschedules them all): only status, hashtags, goal, campaign_id, pinterest_board_id, slack_channel and platform_options; each post answers in posts, and one that fails does not stop the rest. updates changes up to 50 posts each its own way (new text, a new time) in one call; to schedule drafts each at its own time, schedule_post(schedules=...). status: "idea" with post_ids moves unscheduled drafts to Ideas (text, media, links kept; account dropped; the draft removed), answered per post in moved / notMoved. idea_id with text and/or title rewrites a saved idea; photos go on an idea with add_media(attach_to_post_ids=[idea_id]).

Args: post_id: The post ID to update. text: New post text. account_id: A different social account id to publish to. hashtags: Appended to the text as #tags, counted in its limit (YouTube: video tags, unless platform_options.tags; Threads: never added to the text, a single one becomes platform_options.topicTag). A list, or a string split on commas (on spaces if it has none). goal: Updated goal. status: "draft", "scheduled" or "idea". "idea" moves drafts to Ideas (nothing else may change with it). "draft" on a scheduled post unschedules it. "scheduled" sends it as schedule_post does (approval workspaces: pending_approval), so only once the user approved it; to propose a time, send scheduled_for alone. scheduled_for: ISO 8601 datetime. On a draft it only proposes the time (it stays a draft); it moves a scheduled post, or schedules with status "scheduled", which needs the publish scope. campaign_id: Grouping id shared by related drafts. pinterest_board_id: Pinterest only, an id from boards in get_post_context. slack_channel: Slack only, a channel id or #name from slackChannels in get_post_context. platform_options: Settings to change, merged into the post's own (keys as in create_post); null resets one to the platform default. Pinterest also takes newBoardName, which creates that board and sets it. TikTok settings are set by the user at settingsUrl. workspace_id: Workspace ID or name. Optional if user has only one workspace. post_ids: Several posts to change the same way, instead of post_id. repeat: Make a scheduled or published post again on a rhythm: {"every": 2, "unit": "week", "count"?: 5, "until"?: ISO}. "pause", "resume" or "stop" change an existing repeat or evergreen post. Paid plans; not TikTok. Each post made goes through every scheduling check; a refused one is skipped (lastSkip). evergreen: true puts the post in its account's evergreen queue, re-sent into empty posting slots (posting.slots), least recently sent first; false takes it out. On an account without slots it is kept but sends nothing until they are set (recurrence.notice). evergreen_per_week: Evergreen posts per week on that account (default 3). variants: Alternate texts rotated per repeat, so X and Threads' duplicate rule does not skip them. updates: One entry per post instead of post_id/post_ids: {post_id, text?, scheduled_for?, account_id?, hashtags?, goal?, status?, campaign_id?, pinterest_board_id?, slack_channel?, platform_options?}, each checked as a one-post call; no repeat or evergreen. idea_id: A saved idea (from list_posts(status="idea")) to change instead of a post: text replaces its notes. title: With idea_id only: the idea's new title.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNo
textNo
titleNo
repeatNo
statusNo
contextNoThe user's underlying goal for this call, in one sentence without personal details. Used for product analytics only.
idea_idNo
post_idNo
updatesNo
hashtagsNo
post_idsNo
variantsNo
evergreenNo
llm_modelNoThe model identifier of the calling assistant, or "unknown". Used for product analytics only.
account_idNo
campaign_idNo
workspace_idNo
scheduled_forNo
slack_channelNo
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.
platform_optionsNo
evergreen_per_weekNo
pinterest_board_idNo

Output Schema

NameRequiredDescriptionDefault
_mcp_instructionsNoServer-issued metadata for this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / idea_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Idea Id"
      +}
    • addedInput schema / properties / title
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Title"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request."New value: +"The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics."
  3. Changed1 schema field changed
    • addedInput schema / properties / updates
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Updates"
      +}
  4. Changed4 schema fields changed
    • addedInput schema / properties / evergreen
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Evergreen"
      +}
    • addedInput schema / properties / evergreen_per_week
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Evergreen Per Week"
      +}
    • addedInput schema / properties / repeat
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Repeat"
      +}
    • addedInput schema / properties / variants
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Variants"
      +}
  5. Changed1 schema field changed
    • addedInput schema / properties / slack_channel
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Slack Channel"
      +}
  6. Changed5 schema fields changed
    • addedInput schema / properties / post_id / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / post_id / default
      Added value: +null
    • removedInput schema / properties / post_id / type
      Removed value: -"string"
    • addedInput schema / properties / post_ids
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Post Ids"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "post_id"
      -]New value: +[]
  7. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "post_id",
      -  "context",
      -  "llm_model"
      -]New value: +[
      +  "post_id"
      +]
  8. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and openWorldHint=true, but the description adds the operational consequences: edits to published posts are immediately visible and require explicit user confirmation plus the publish scope, `account_id` moves the post and its platform with it, `post_ids` is capped at 50 with per-post failure isolation, and approval workspaces return `pending_approval`. It also flags paid-plan and platform restrictions (repeat not on TikTok, TikTok settings live at `settingsUrl`) and suppressed-send states (`recurrence.notice`).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core action is front-loaded and almost every sentence carries functional information, but the body is a dense wall of backticked clauses with no headings, mixing live-edit rules, bulk-update modes, repeats, evergreen queues and idea rewrites into undifferentiated paragraphs. Scanning for one parameter's rules is slow, and a short structured split (single-post / bulk / repeat-evergreen / idea) would cost nothing.

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 23-parameter mutation tool with no required fields, the definition covers the decision space an agent needs: which post states allow which changes, scope requirements, merge/reset semantics for options, bulk caps and failure behavior, and where to source ids (`boards` and `slackChannels` from get_post_context). Return values are covered by the output schema, so omitting them is not a gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 13% against 23 parameters, so the description must carry the load and does: hashtags are appended and counted against the text limit with platform carve-outs (YouTube tags, Threads topicTag), `scheduled_for` on a draft only proposes a time while on a scheduled post it moves it, `platform_options` merges and null resets to platform default, and `updates` entries are validated as one-post calls with repeat/evergreen excluded.

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?

The opening line states a specific verb and resource ("Change a draft or scheduled post") plus the return shape ("returns it as saved, with its links"). It then distinguishes the tool from siblings by name, routing schedule-at-own-time work to schedule_post and idea photos to add_media, so an agent can pick correctly without opening another schema.

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 gives explicit when-to-use branches keyed on post state and platform: live-text edits are limited to a named platform list, other platforms cannot edit live posts except a YouTube thumbnail swap, and `status: "idea"` may not be combined with other changes. Alternatives are named with the condition that selects them (schedule_post for per-post schedules, add_media for idea photos, list_posts to find idea ids).

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.