Skip to main content
Glama

Edit a live post's caption

edit_published_post

Replace the words on a post that is already live, where the platform allows it (Facebook today). This is an edit, not a republish: external id, permalink and publication time stand. A channel that cannot edit answers with the reason and the retract-and-repost path.

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": {
      "queue_id": "<queue_id>",
      "caption": "<caption>"
    },
    "name": "edit_published_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
captionYes
queue_idYesThe published queue row (see list_publish_queue)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that external id, permalink and publication time survive the edit, and that ineligible channels return a reason rather than silently failing. That is meaningful mutation context the annotations do not carry. It stops short of explaining the non-idempotent hint or partial-failure behavior.

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 short sentences, each carrying distinct information: what it does, how it differs from a republish, what happens on unsupported channels. No padding.

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 two-parameter mutation with no output schema, the description covers identity, side effects, and error behavior well. The only gap is that return-shape details on success are left implicit.

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 coverage is 50%: queue_id is documented in the schema, caption is not. "Replace the words" implies full replacement rather than appending, which is a useful distinction, but the description says nothing about caption length limits or that queue_id must reference a published row.

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?

"Replace the words on a post that is already live" gives a specific verb and resource, scoped to live posts. "This is an edit, not a republish" separates it from the retract-and-repost path and, by implication, from the draft-editing siblings.

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 states the precondition for use (the platform allows it, Facebook today) and the fallback when it does not apply (retract-and-repost). It does not name a sibling draft tool explicitly, but the conditionality is concrete enough to route an agent.

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