Skip to main content
Glama

Social media studio

Retry Post

retry_post
Destructive

Retry publishing a failed post: clears the failure, sets the status from FAILED to PENDING and queues it to publish to the social network right away. Only posts in FAILED status are accepted.

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": "retry_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPost UUID

Output Schema

NameRequiredDescriptionDefault
idYes
fileNo
textNo
shareIdNo
metaDataNo
postTypeYes
shareUrlNo
warningsNo
accountIdNo
createdAtNo
updatedAtNo
postStatusYesCurrent status; queued/scheduled does not mean published.
descriptionNo
scheduledAtNo
socialMediaYes
failureReasonNo
firstCommentErrorNo
firstCommentStatusNoDelivery of the automatic first comment: pending, posted, failed or skipped. Null when the post has none.
firstCommentPostedAtNo
firstCommentPlatformIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and openWorldHint=true, but the description adds real value by spelling out the side effects: clearing the failure, flipping FAILED to PENDING, and queuing an immediate publish to the social network. It does not explain why the operation is flagged destructive (e.g. whether the prior failure context is lost) or what an out-of-state post returns.

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?

Two compact sentences; the action and its state transition come first and the acceptance constraint follows. No filler and nothing redundant with the title.

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?

With annotations covering the safety profile, an output schema covering returns, and a single fully documented parameter, the description supplies the remaining essentials: the state change and the FAILED-only guard. Only the failure behavior for a non-FAILED post and the reason for the destructive flag 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 100% with 'id' documented as a Post UUID, so the schema already carries parameter meaning. The description only implies that the id must reference a FAILED post via the status precondition, adding little parameter detail beyond the schema baseline.

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 ('Retry publishing a failed post') and goes on to describe the exact state transition, so an agent knows precisely what action it performs 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?

Gives an explicit precondition ('Only posts in FAILED status are accepted'), which is clear when-to-use guidance. It stops short of naming alternatives such as resubmit_post or approve_post for posts in other states, so it is not a full routing statement.

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