Skip to main content
Glama

Rewrite a published post

revise_post
DestructiveIdempotent

Rewrite the copy that is LIVE on each platform. Use this on a submission that has already published; use update_post on one that has not.

A REVISION CHANGES WORDING, NEVER STRUCTURE. Send every channel and every block of each thread, in order, including the ones that did not change — call get_post first and edit what it returns. The channel list and each thread’s length must match what was published; adding or removing either is refused.

What each platform will change is limits.remoteEdit on list_platforms. Sending a part it does not list — a title to a platform that only rewrites text — is refused and nothing is sent. NO PLATFORM WILL CHANGE A PUBLISHED POST’S ATTACHMENTS, so there is no field for them; if the user wants a different image, the honest answer is that it means taking the post down and publishing a new one, which loses everything the original earned.

Only blocks whose text actually differs are sent, so an unchanged block never puts an "edited" marker on a post nobody touched. Answers revised and unchanged; an entry in unchanged with a reason was refused by the platform, and one without simply already read that way.

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>",
      "post": "<post>"
    },
    "name": "revise_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe submission id.
postYesA revision: the submission as it should now read. Wording only: the channel list and each thread’s length must match what was published, and there is no field for attachments because no platform will change them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / post / description
      Previous value: -"A revision: the submission as it should now read. Wording only — the channel list and each thread’s length must match what was published, and there is no field for attachments because no platform will change them."New value: +"A revision: the submission as it should now read. Wording only: the channel list and each thread’s length must match what was published, and there is no field for attachments because no platform will change them."
    • changedInput schema / properties / post / properties / channels / description
      Previous value: -"Every channel of the submission. Omitting one is `revision_structure_changed`, not a channel left alone — call `GET /posts/{id}` and edit what it returns."New value: +"Every channel of the submission. Omitting one is `revision_structure_changed`, not a channel left alone: call `GET /posts/{id}` and edit what it returns."
    • changedInput schema / properties / post / properties / channels / items / description
      Previous value: -"One channel’s new wording. Every channel of the submission must appear — what you are describing is how the submission should now read, not a patch against it."New value: +"One channel’s new wording. Every channel of the submission must appear: what you are describing is how the submission should now read, not a patch against it."
    • changedInput schema / properties / post / properties / channels / items / properties / blocks / description
      Previous value: -"Every block of the thread, in order, including unchanged ones. The length must equal what was published — adding or removing a block is `revision_structure_changed`."New value: +"Every block of the thread, in order, including unchanged ones. The length must equal what was published: adding or removing a block is `revision_structure_changed`."
    • changedInput schema / properties / post / properties / channels / items / properties / blocks / items / properties / content / description
      Previous value: -"The block’s new text. Optional and empty is fine — clearing the caption on a published image is a real edit. Send the block even when its text has not changed; unchanged blocks are not sent to the platform, so they cost nothing and never mark a post \"edited\"."New value: +"The block’s new text. Optional and empty is fine: clearing the caption on a published image is a real edit. Send the block even when its text has not changed; unchanged blocks are not sent to the platform, so they cost nothing and never mark a post \"edited\"."
    • addedInput schema / properties / post / properties / channels / items / properties / options / example
      Added value: +{
      +  "link": "https://example.com/recipes/pesto"
      +}
    • changedInput schema / properties / post / properties / channels / items / properties / title / description
      Previous value: -"The title, on platforms that have one AND will change it after publishing — `limits.remoteEdit.fields` on `GET /public/v1/platforms` says which. YouTube will; Reddit will not, and sending one there is `edit_not_supported` rather than a field quietly ignored."New value: +"The title, on platforms that have one AND will change it after publishing (`limits.remoteEdit.fields` on `GET /public/v1/platforms` says which). YouTube will; Reddit will not, and sending one there is `edit_not_supported` rather than a field quietly ignored."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and idempotentHint=true, but the description goes well beyond them: structure is immutable (channel list and thread length must match), unsupported fields are refused wholesale ('nothing is sent'), attachments are impossible, and unchanged blocks are never transmitted so no stray 'edited' marker appears. No contradiction with the destructive hint — quite the opposite, it explains the cost of the destructive path.

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?

Five short paragraphs, each front-loading its constraint in caps (structure immutability, per-platform capability gating, attachment impossibility) with zero filler. The final paragraph about `revised`/`unchanged` return values is load-bearing given there is no output schema.

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?

A destructive, deeply nested, two-parameter tool with no output schema — the description covers what must be sent, what is refused and under which error code, what cannot change, and what the response looks like. Nothing an agent needs to invoke it safely is missing.

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% and the nested schema already spells out the 'send every block including unchanged ones' contract, the maxItems bounds, and the `limits.remoteEdit.fields` gating. The description reinforces the replacement-not-patch semantics and the ordering requirement, but adds little beyond what the schema already gives.

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?

Opens with a specific verb and resource in caps ('Rewrite the copy that is LIVE on each platform') and immediately contrasts itself with the sibling `update_post` on the published/unpublished axis. An agent can pick between the two without opening either 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?

Explicit routing rule ('use this on a submission that has already published; use `update_post` on one that has not'), a mandatory prerequisite workflow ('call `get_post` first and edit what it returns'), and named refusal conditions. It also gives the escape hatch for the attachment case: take the post down and republish.

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