Skip to main content
Glama

Edit the caption of a published post

publish_post_caption_update
DestructiveIdempotent

[PUBLISHES to social accounts · publish scope] CHANGES THE CAPTION OF A POST THAT IS ALREADY LIVE on real accounts, in place (same post, likes and comments stay). Works on Facebook, LinkedIn, YouTube, Pinterest, Reddit, Google Business and Telegram; Instagram, TikTok, Threads and X do not allow it (listed in skipped). Pass text (every platform) and/or platformText ({ linkedin: "…" }); platforms limits it to some platforms; dryRun: true shows the plan and sends nothing. Full description and schema: describe_tool {"name":"publish_post_caption_update"}. (Wraps PATCH /api/v2/posts/{id}.)

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

Input Schema

NameRequiredDescriptionDefault
idYese.g. "id_123". The post: `convexPostId` from POST /api/v2/publish, or `posts[].id` from GET /api/v2/content/{id}.
textNoe.g. "Discover our new collection.". The caption (every platform without its own).
dryRunNoe.g. false. With `switchAccounts` on a post held for review: preview the switch (status "would_switch"), nothing written.
platformsNoe.g. ["instagram"]. LIVE post only: edit the caption on these platforms only (each must be live on the post).
platformTextNoe.g. {}. Per-platform captions, merged into the draft's: { "linkedin": "…" } sets one, null / "" clears it; null clears them all.
acknowledgeAdsNoe.g. false. LIVE post only: go ahead although a running boost / ad uses the post (Meta re-reviews the ad).
placeholderOverrideNoe.g. "Example". LIVE post only: why a caption that looks like an internal note (e.g. "[cut 3] …") is really meant.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true, openWorldHint=true), the description discloses the critical in-place semantics — same post, likes and comments preserved — plus the per-platform feasibility matrix and the `skipped` reporting behavior. The `dryRun: true` clause clarifies that nothing is sent, which meaningfully qualifies the destructive hint. This is exactly the extra context annotations alone cannot convey.

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?

The brand/scope tag, the operation statement, and the platform constraint are all front-loaded, and each subsequent clause adds a distinct fact (platform support, param interaction, dry-run). The trailing describe_tool pointer is slightly redundant given the inline detail but keeps the body short and is a single sentence.

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 7-parameter mutation with no output schema, the description covers platform scope, dry-run behavior, and the skipped-platform outcome, which are the main failure modes an agent must anticipate. It does not mention `acknowledgeAds` or `placeholderOverride` in prose, but both are fully described in the schema, so nothing essential 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%, so every parameter including `acknowledgeAds` and `placeholderOverride` is already documented in the schema. The description restates the `text` / `platformText` / `platforms` / `dryRun` relationship, which is mildly useful for grasping the merge model, but adds no syntax or format details beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 specific verb and resource ('CHANGES THE CAPTION OF A POST THAT IS ALREADY LIVE') and pins the scope to live posts only, which separates it from the sibling publish_post_update that presumably edits draft posts. It also names the underlying endpoint (PATCH /api/v2/posts/{id}) so the operation is unambiguous.

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?

Gives clear conditions: works only on an already-live post, lists the seven supported platforms explicitly, and names the four platforms that will be reported in `skipped`. It also describes when to use `dryRun: true`. What it lacks is an explicit pointer to the alternative tool for non-live posts, so the exclusion is inferred from the 'already live' framing rather than stated as 'use X for drafts'.

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