Skip to main content
Glama

Update post

update_post
Destructive

Changes a post before it publishes: its title, brief, scheduled_at or AI label, and per target (by target_id) the caption, media, cover, public title, mode, own time, account or AI label. Any change to an approved post sends it back to needs approval; a person must approve it again, and is told it changed after they approved it. The one exception: moving an approved post later and changing nothing else (scheduled_at, or targets[].scheduled_at alone, every platform at its old time or later and in the future; not "next_slot") keeps its approval, and the person sees that in History. A post with approval.overdue missed its time while waiting for approval: it moves with scheduled_at "next_slot" or one of its suggested_times, which the person can pick from. On a post with changes requested (approval.changes in get_post), the asked changes are made here: it goes back to needs approval and the notes are marked addressed for the person. Edits apply in order; if one is refused, the earlier ones stay. Refused for targets already posted or publishing. Captions may contain {link}, replaced by the brand site link with UTM tags. Facebook and LinkedIn captions must contain {link} unless the first_comment does; Instagram and TikTok must not contain links ("Link in bio" is the usual line). Threads takes one hashtag at most and 5 links a post, Instagram 5 hashtags and 20 @ mentions. Google Business Profile takes 1,500 characters and no hashtags; put its link on the button (google.button) rather than in the text, and keep phone numbers and emails out of it (Google may remove the post). TikTok takes 2,200 characters on a video and 4,000 on a photo post. X counts 280 its own way (a link is 23, an emoji or a Chinese, Japanese or Korean character 2), and X posts with a link ({link}, a URL or a bare domain like example.com) are capped per calendar month (UTC) by plan: get_workspace gives x_link_posts used and left. The brand rules from get_brand apply too.

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": {
      "post_id": "<post_id>"
    },
    "name": "update_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
briefNo
titleNo
post_idYes
targetsNo
ai_generatedNoTrue when the content is AI-made or AI-edited and looks realistic. Instagram gets its AI info label; YouTube gets its altered or synthetic content declaration; TikTok videos a person approved get TikTok's AI-generated label, while TikTok photo posts and auto-approved posts arrive as drafts to label by hand in the app; Pinterest gets its AI modified label; Threads, Facebook, LinkedIn, X and Bluesky get no label.
scheduled_atNoISO 8601 with an offset, e.g. 2026-10-06T09:00:00-07:00 for 9am in Los Angeles. A time without an offset is read as UTC. The workspace's time zone is in get_workspace. Or "next_slot": each platform takes the next of its posting times in the next 30 days that no other post of this brand takes on that platform (taken means the exact same time, so a post at 09:05 leaves 09:00 free). A platform's posting times are the brand's own for it (brands[].platform_posting_weeks in get_workspace), else the workspace's posting_week. Platforms on the same times go out together, at the first time free on all of them; one on other times gets its own time on its target. The answer gives the post's time (scheduled_at, local_time) and each target's. Refused when there are no posting times or all are taken. With "next_slot", every platform not yet out is placed again, replacing any own time it had.

Output Schema

NameRequiredDescriptionDefault
titleYes
statusYes
post_idYes
targetsYes
approvalYes
preview_urlYes
approval_urlYes
scheduled_atYes
allowed_actionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / targets / items / properties / media_id / description
      Previous value: -"null with no media_ids makes it a text post (its cover and frame offset go too). Media is optional on Facebook, Threads, LinkedIn, X, Bluesky, Google Business Profile: leave media_id and media_ids out for a text post. Instagram, TikTok, YouTube, Pinterest need an image or video."New value: +"null with no media_ids makes it a text post (its cover and frame offset go too). Media is optional on Facebook, Threads, LinkedIn, X, Bluesky, Google Business Profile: leave media_id and media_ids out for a text post. Instagram, TikTok, YouTube, Pinterest need an image or video. A single Facebook video posted automatically goes out as a Reel, which takes 3 to 60 seconds at 9:16 (90 on a direct connection); check_post warns about any other, which Facebook may refuse, and posting it by hand takes any length."
  2. Changed1 schema field changed
    • changedInput schema / properties / ai_generated / description
      Previous value: -"True when the content is AI-made or AI-edited and looks realistic. Instagram gets its AI info label; YouTube gets its altered or synthetic content declaration; TikTok drafts must be labelled by hand in the app; Threads and Facebook have no label."New value: +"True when the content is AI-made or AI-edited and looks realistic. Instagram gets its AI info label; YouTube gets its altered or synthetic content declaration; TikTok videos a person approved get TikTok's AI-generated label, while TikTok photo posts and auto-approved posts arrive as drafts to label by hand in the app; Pinterest gets its AI modified label; Threads, Facebook, LinkedIn, X and Bluesky get no label."
  3. Changed5 schema fields changed
    • changedInput schema / properties / targets / items / properties / first_comment / anyOf
      Previous value: -[
      -  {
      -    "description": "Posted as the first comment right after the post: Instagram feed posts and carousels (2,200 characters; not a single video, which is a Reel), Facebook (8,000), LinkedIn (1,250), Threads (500; a reply that counts toward Threads' 250 posts a day) and YouTube (10,000; regular videos and Shorts; posted but not pinned, pin it in YouTube Studio). Not TikTok, X, Bluesky or Pinterest. On LinkedIn and Facebook put the link here ({link}) rather than in the caption; on Instagram links in comments are not clickable either, so say \"Link in bio\". Hashtags: Threads one, Instagram 5 across caption and comment. {link} and the brand rules apply as in captions. A person approves it with the post.",
      -    "maxLength": 20000,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Posted as the first comment right after the post: Instagram feed posts and carousels (2,200 characters; not a single video, which is a Reel), Facebook (8,000), LinkedIn (1,250), Threads (500; a reply that counts toward Threads' 250 posts a day) and YouTube (10,000; regular videos and Shorts; posted but not pinned, pin it in YouTube Studio). Not TikTok, X, Bluesky, Pinterest or Google Business Profile. On LinkedIn and Facebook put the link here ({link}) rather than in the caption; on Instagram links in comments are not clickable either, so say \"Link in bio\". Hashtags: Threads one, Instagram 5 across caption and comment. {link} and the brand rules apply as in captions. A person approves it with the post.",
      +    "maxLength": 20000,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / targets / items / properties / first_comment / description
      Previous value: -"Posted as the first comment right after the post: Instagram feed posts and carousels (2,200 characters; not a single video, which is a Reel), Facebook (8,000), LinkedIn (1,250), Threads (500; a reply that counts toward Threads' 250 posts a day) and YouTube (10,000; regular videos and Shorts; posted but not pinned, pin it in YouTube Studio). Not TikTok, X, Bluesky or Pinterest. On LinkedIn and Facebook put the link here ({link}) rather than in the caption; on Instagram links in comments are not clickable either, so say \"Link in bio\". Hashtags: Threads one, Instagram 5 across caption and comment. {link} and the brand rules apply as in captions. A person approves it with the post. null or empty removes it."New value: +"Posted as the first comment right after the post: Instagram feed posts and carousels (2,200 characters; not a single video, which is a Reel), Facebook (8,000), LinkedIn (1,250), Threads (500; a reply that counts toward Threads' 250 posts a day) and YouTube (10,000; regular videos and Shorts; posted but not pinned, pin it in YouTube Studio). Not TikTok, X, Bluesky, Pinterest or Google Business Profile. On LinkedIn and Facebook put the link here ({link}) rather than in the caption; on Instagram links in comments are not clickable either, so say \"Link in bio\". Hashtags: Threads one, Instagram 5 across caption and comment. {link} and the brand rules apply as in captions. A person approves it with the post. null or empty removes it."
    • addedInput schema / properties / targets / items / properties / google
      Added value: +{
      +  "anyOf": [
      +    {
      +      "description": "Google Business Profile only: the post's type, event, offer and button. Left out, a plain update with no button. A person approves it with the post.",
      +      "properties": {
      +        "button": {
      +          "anyOf": [
      +            {
      +              "properties": {
      +                "type": {
      +                  "description": "learn_more, book, order (Order online), shop (Buy) or sign_up.",
      +                  "enum": [
      +                    "learn_more",
      +                    "book",
      +                    "order",
      +                    "shop",
      +                    "sign_up"
      +                  ],
      +                  "type": "string"
      +                },
      +                "url": {
      +                  "description": "https link where the customer does it, or {link} for the brand link.",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type",
      +                "url"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "The button under the post."
      +        },
      +        "event": {
      +          "anyOf": [
      +            {
      +              "properties": {
      +                "end": {
      +                  "description": "Same form as start; a time on both or neither.",
      +                  "type": "string"
      +                },
      +                "start": {
      +                  "description": "YYYY-MM-DD, or YYYY-MM-DDTHH:MM with a time, in the business’s own time.",
      +                  "type": "string"
      +                },
      +                "title": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "title",
      +                "start",
      +                "end"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "An event, or the dates an offer runs. Google removes it once it has ended."
      +        },
      +        "offer": {
      +          "anyOf": [
      +            {
      +              "properties": {
      +                "coupon_code": {
      +                  "type": "string"
      +                },
      +                "redeem_url": {
      +                  "description": "https link, or {link}.",
      +                  "type": "string"
      +                },
      +                "terms": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "post_type": {
      +          "description": "update (the default): news about the business. event: needs event. offer: a sale or deal; needs event too (its title and the dates it runs), plus any of offer.",
      +          "enum": [
      +            "update",
      +            "event",
      +            "offer"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Google Business Profile only: the post's type, event, offer and button. Left out, a plain update with no button. A person approves it with the post. null makes it a plain update again."
      +}
    • changedInput schema / properties / targets / items / properties / media_id / description
      Previous value: -"null with no media_ids makes it a text post (its cover and frame offset go too). Media is optional on Facebook, Threads, LinkedIn, X, Bluesky: leave media_id and media_ids out for a text post. Instagram, TikTok, YouTube, Pinterest need an image or video."New value: +"null with no media_ids makes it a text post (its cover and frame offset go too). Media is optional on Facebook, Threads, LinkedIn, X, Bluesky, Google Business Profile: leave media_id and media_ids out for a text post. Instagram, TikTok, YouTube, Pinterest need an image or video."
    • changedInput schema / properties / targets / items / properties / media_ids / description
      Previous value: -"A carousel: 2 or more media ids in posting order, first is the cover. Give this or media_id, not both. Instagram up to 10 (images and videos), Threads 20, Facebook 10 images, TikTok photo posts 35 images, LinkedIn 20 images, YouTube none."New value: +"A carousel: 2 or more media ids in posting order, first is the cover. Give this or media_id, not both. Instagram up to 10 (images and videos), Threads 20, Facebook 10 images, TikTok photo posts 35 images, LinkedIn 20 images, YouTube, Pinterest and Google Business Profile none."
  4. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description goes far beyond: it discloses the approval-reset side effect, the one exception that preserves approval, the partial-application semantics ('if one is refused, the earlier ones stay'), and the X monthly link cap. That is exactly the kind of consequence-level detail an agent needs before mutating a post.

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 purpose is front-loaded in the first sentence, but the remainder is a dense single block that mixes approval workflow, atomicity, and per-platform caption/character rules with no structural breaks. Nearly all the content is relevant, but the lack of segmentation makes it hard to scan and pushes platform rules that could live in schema descriptions into prose.

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 six-parameter mutation tool with an output schema, the description covers everything an agent needs to call it correctly: approval state transitions, refusal conditions, partial-edit ordering, per-platform limits, and cross-references to get_post, get_brand and get_workspace for prerequisite data.

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?

Top-level schema coverage is only 33%, so the description carries real weight and does map each editable field to its purpose (caption, media, cover, public title, mode, own time, account, AI label) and explains {link} substitution and next_slot behavior. It doesn't cover every nested field (google.post_type, thread, format) in prose, but those are well documented in the schema itself.

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 first sentence names a specific verb (changes), the resource (a post, before it publishes), and enumerates the editable surfaces at post level and per target. An agent can distinguish it from create_post, cancel_post and check_post without opening the schema.

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?

Usage context is strong and explicit: edits on approved posts re-trigger approval, overdue posts move with "next_slot" or a suggested_time, and posts with approval.changes are handled here. It also states refusals (targets already posted or publishing). What's missing is explicit routing language pointing at siblings like create_post or check_post as the alternative for other intents.

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