Skip to main content
Glama

Edit a post

update_post
Destructive

Changes a draft, scheduled or failed post: text, networks, per-network versions, media or the video cover. Fields left out stay the same. A scheduled post goes back to draft and needs scheduling 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": {
      "post_id": "<post_id>"
    },
    "name": "update_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoNew main text.
post_idYesThe post id.
networksNoThe full new list of networks.
alt_textsNoAlt text for each image, same order as media_urls.
media_urlsNoThe full new list of media links. Send an empty list to remove all media.
clear_coverNotrue removes the cover frame and cover picture, so the app picks the clearest frame again. Any video_cover_ms or video_cover_image_url sent with it becomes the new cover.
per_networkNoPer-network versions to change (others stay as they are).
video_cover_msNoVideo posts only: the cover frame, in milliseconds from the start (2400 = 2.4 s). Used for the Instagram Reel cover, the Facebook and YouTube thumbnail and the TikTok cover. Left out on a new post = the app picks the clearest frame. Left out = the cover stays as it is.
video_cover_image_urlNoVideo posts only: a cover picture from the person's own library (a JPEG from an upload link, list_media or get_image_result), sized like the video. Used for the Instagram Reel cover and the Facebook and YouTube thumbnail, where it beats video_cover_ms; TikTok only takes a frame, so it keeps video_cover_ms. Left out = the cover stays as it is.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / clear_cover
      Added value: +{
      +  "default": false,
      +  "description": "true removes the cover frame and cover picture, so the app picks the clearest frame again. Any video_cover_ms or video_cover_image_url sent with it becomes the new cover.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / video_cover_image_url
      Added value: +{
      +  "default": null,
      +  "description": "Video posts only: a cover picture from the person's own library (a JPEG from an upload link, list_media or get_image_result), sized like the video. Used for the Instagram Reel cover and the Facebook and YouTube thumbnail, where it beats video_cover_ms; TikTok only takes a frame, so it keeps video_cover_ms. Left out = the cover stays as it is.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / video_cover_ms
      Added value: +{
      +  "default": null,
      +  "description": "Video posts only: the cover frame, in milliseconds from the start (2400 = 2.4 s). Used for the Instagram Reel cover, the Facebook and YouTube thumbnail and the TikTok cover. Left out on a new post = the app picks the clearest frame. Left out = the cover stays as it is.",
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / per_network / items / properties / linkedin_post_as
      Added value: +{
      +  "description": "LinkedIn only: who the post comes from. \"profile\" for the person's own profile, or the name or urn of one of their LinkedIn Pages (list_connected_accounts lists them under post_as_pages). Ask the person when they have Pages. Left out on a new post = the profile.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, and the description adds behavior annotations cannot express: partial-update semantics ('Fields left out stay the same') and the side effect that a scheduled post reverts to draft and must be rescheduled. It never contradicts the destructive flag; the only minor gap is that it doesn't warn that media/cover changes are irreversible.

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 tight sentences with zero padding; the partial-update rule and the rescheduling warning are front-loaded right after the scope statement. Every clause carries operational information.

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 9-parameter mutation with no output schema and full schema coverage, the description supplies the two things that matter most: patch semantics and the scheduling side effect. It leaves open edge cases such as what happens when called on a published post and how alt_texts relates to media_urls ordering, which the schema only partially covers.

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 coverage is 100%, so the baseline is 3, but the description adds cross-parameter meaning the schema does not: omitted fields are preserved, per-network entries other than those listed are untouched, and the scheduled-to-draft transition. That is real semantic value beyond the field-by-field descriptions.

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?

Specific verb plus resource plus scope: it edits 'a draft, scheduled or failed post' and enumerates the editable aspects (text, networks, per-network versions, media, video cover). The state restriction implicitly separates it from create_post, delete_post and the publish/schedule siblings without needing to name them.

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?

It clearly delimits when this applies by post state (draft/scheduled/failed), which excludes published posts, and it flags the reschedule consequence for scheduled posts. It does not name alternatives such as reschedule_post or create_post for cases outside the stated states, so it stops short of explicit routing.

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