Skip to main content
Glama

Retry failed post

retry_post
Destructive

Publishes a failed post again, like the Retry button in the ShortSync library. Runs the same checks as a new publish (subscription, daily platform limit, connection health, caption limits), clears the old error and re-queues the post now, or at scheduled_for when given. Doesn't use another monthly upload credit. Find failed posts with list_scheduled_posts (status: 'failed') or get_workspace_status. If the error was a disconnected account, have the user reconnect first; if the caption was too long, fix it with update_post or batch_update_posts (that re-queues it on its own).

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": {
      "video_post_id": "<video_post_id>"
    },
    "name": "retry_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
scheduled_forNoOptional ISO 8601 time to publish at instead of right now. Must be in the future and at most a year out.
video_post_idYesThe failed post to retry (video_posts.id).
idempotency_keyNoOptional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the destructive/openWorld annotations by disclosing the exact pre-flight checks (subscription, daily platform limit, connection health, caption limits), that the old error is cleared, that it re-queues immediately or at scheduled_for, and that it does not consume another monthly upload credit — a material side-effect fact an agent could not infer.

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?

Front-loaded with the core action, then checks, then credit cost, then discovery and error-specific alternatives. Every sentence carries distinct information with no restatement of the title or 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?

For a destructive, open-world mutation with no output schema, the description supplies what an agent needs: side effects, cost implications, prerequisite checks, and branch-specific alternatives. Nothing essential to correct invocation is missing.

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 the baseline is 3; the description still adds the default-behavior semantics that scheduled_for is optional and that omitting it means publish now. It says nothing extra about idempotency_key, but the schema already explains that fully.

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 ('Publishes a failed post again') and anchors it to a familiar UI action ('like the Retry button in the ShortSync library'). This is clearly distinguishable from update_post, schedule_post, and batch_update_posts named later.

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?

Gives explicit when-to-use routing: find candidates via list_scheduled_posts (status: 'failed') or get_workspace_status, reconnect the account first if the error was a disconnect, and use update_post/batch_update_posts instead when the caption was too long. It even notes batch_update_posts re-queues on its own, which prevents a redundant retry.

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.