Skip to main content
Glama

Edit a scheduled or published post

publish_post_update
DestructiveIdempotent

[PUBLISHES to social accounts · publish scope] Changes one post (id, PATCH /posts/{id}). mode "content": caption, per-platform text, first comments, platforms. mode "time": move it to scheduledAt. mode "accounts": move a platform to another connected account (switchAccounts, dryRun first). mode "labels": internal post and instance labels (never shown publicly). Confirm caption, time and account changes with the user: they change what goes live. Cancelling is publish_post_cancel (destructive, separate). More optional arguments, not listed: instanceLabels. Full description and schema: describe_tool {"name":"publish_post_update"}.

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

Input Schema

NameRequiredDescriptionDefault
idYese.g. "id_123".
modeYesWhich mode, e.g. "content".
textNoe.g. "Discover our new collection.".
dryRunNoe.g. false.
labelsNoe.g. ["campaign:summer"].
labelModeNoe.g. "set". Default set.
platformsNoe.g. ["instagram"].
scheduledAtNoFormat: ISO 8601 with timezone; e.g.…
firstCommentNoe.g. {"linkedin":"Example"}. Fields: linkedin, facebook, instagram, threads, youtube.
platformTextNoe.g. {}.
acknowledgeAdsNoe.g. false.
switchAccountsNoe.g. {}.
removePlatformsNoe.g. ["Example"].
placeholderOverrideNoe.g. "Example".
applyAutoFirstCommentNoe.g. false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description adds the crucial real-world consequence ('they change what go live' for caption, time and account changes), the required `publish` scope, the 'dryRun first' safety step for account switching, and the fact that labels are internal and never shown publicly. That is genuine context beyond the structured hints, not a restatement of them.

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?

The bracketed scope prefix and the mode-by-mode colon structure make it front-loaded and scannable, with essentially no filler. It is still a dense run-on sentence with telegraphic fragments, and it defers the full argument list to describe_tool rather than stating it here.

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 15-parameter mutation tool with nested objects and no output schema, the description covers the high-risk paths (publishing changes, account switching, cancellation) and points to describe_tool for the remainder. It does not explain the meaning or return behavior of the less common arguments (removePlatforms, acknowledgeAds, placeholderOverride), so an agent must make a second call to be fully informed.

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% but the schema descriptions are mostly bare examples ('e.g. false'), so the description's mode-to-parameter mapping (text/platformText/firstComment → content; scheduledAt → time; switchAccounts → accounts; labels/labelMode → labels) adds real meaning. However, several parameters carried in the schema — removePlatforms, acknowledgeAds, placeholderOverride, applyAutoFirstComment, labelMode — receive no explanation, and instanceLabels is declared 'not listed' outside the schema, leaving a gap.

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?

States a concrete verb and resource ('Changes one post', PATCH /posts/{id}) plus the required scope ('publish') and the side effect (publishes to social accounts). The four-mode breakdown makes the scope of the tool enumerable at a glance, and the final sentence explicitly separates it from publish_post_cancel, so an agent can distinguish it from siblings 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Routing guidance is explicit per mode: 'content' for caption/platform text/first comments/platforms, 'time' for rescheduling, 'accounts' for moving a platform to another connected account (with 'dryRun first'), 'labels' for internal labels. It also names the exclusion — cancelling belongs to publish_post_cancel (destructive, separate) — and instructs confirmation for caption/time/account changes before going live.

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