Skip to main content
Glama

Retry a failed post

publish_post_retry
Destructive

[PUBLISHES to social accounts · publish scope] Sends a failed (or partially failed) post again, like the dashboard's Retry: id is the post id (convexPostId, or postId from publish_failed_list). A post the platform scheduler holds resends only its failed platforms; one that failed before the scheduler sends its stored, approved request again. Answers per platform published / failed / pending. Pass a fresh idempotencyKey; repeating an idempotencyKey never posts twice (it answers replayed: true). It reaches real social accounts: confirm with the user first. Was retry_post (still callable for one release). (Wraps POST /api/v2/posts/{id}/retry.)

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

Input Schema

NameRequiredDescriptionDefault
idYese.g. "id_123". The post: `convexPostId` from POST /api/v2/publish, `posts[].id` from GET /api/v2/content/{id}, or `postId` from GET /api/v2/failed.
idempotencyKeyYese.g. "Example". Your key for this retry (or the Idempotency-Key header). Reuse it to repeat the call safely; use a new one to retry again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only flag destructive/openWorld/non-idempotent; the description adds the crucial context that this reaches real social accounts and should be user-confirmed, and that idempotency is key-scoped so repeating a key never double-posts (returning replayed: true). It also discloses the behavioral difference between scheduler-held posts (only failed platforms resend) and pre-scheduler posts (stored approved request resent), which is exactly the kind of trait annotations cannot express.

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?

Front-loaded with the action and the scope tag, then safety, then mechanics, then return shape — a sensible order. It is dense but the length is justified by the destructive real-world side effect; only the deprecated-name and raw-endpoint parentheticals are marginal filler.

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?

For a two-parameter mutation with no output schema, the description covers everything an agent needs: what it acts on, where the id comes from, idempotency handling, the per-platform result shape (published/failed/pending), and the user-confirmation requirement.

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 both params are already documented; the description still adds workflow meaning by naming which upstream call supplies the id (convexPostId vs. postId from publish_failed_list) and by instructing a fresh idempotencyKey per retry with the replay consequence spelled out. That is value beyond the schema, though some of it duplicates the id description field.

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 and resource: 'Sends a failed (or partially failed) post again, like the dashboard's Retry', and it scopes it away from creation/update siblings by requiring an existing post id. It even disambiguates from its own deprecated alias (retry_post), so an agent can identify the tool 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 Guidelines4/5

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

Clear preconditions: the post must be failed or partially failed, and the id comes from publish_failed_list or publish_post_create. It adds a mandatory human-in-the-loop step ('confirm with the user first') and explains the two failure regimes. It does not explicitly state when NOT to use it (e.g., for a still-pending or already-published post), leaving a small inference gap.

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