Skip to main content
Glama
adaptlypost

AdaptlyPost

Official

Retry Failed Platforms

retry_failed_platforms

Retry publishing for failed platforms of a specific post. Resets status to PENDING and reattempts with the same content after fixing the cause.

Instructions

Re-queue publishing for a post's FAILED platforms. Only rows with status FAILED whose id is in platformIds are reset to PENDING and retried with the same content; other ids are ignored, and with none matching the call fails with "No failed platforms to retry". The post moves to PUBLISHING and the retry is asynchronous, so check list_post_results for the outcome. Get platformIds (not platform names) and each errorMessage from list_post_results first; retry once the cause is fixed (reconnected account, replaced media), not for a platform-side restriction, which will just fail again. Content cannot change on retry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesPost ID whose platforms failed
platformIdsYesplatformId values of FAILED rows from list_post_results (not platform names). At least one

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoAn object with postId, queuedPlatforms (platforms re-queued for publishing), and isScheduled: false. Outcomes arrive asynchronously in list_post_results.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed3 schema fields changedv0.1.1
    • changedInput schema / properties / id / description
      Previous value: -"Post ID"New value: +"Post ID whose platforms failed"
    • changedInput schema / properties / platformIds / description
      Previous value: -"Failed platform IDs to retry"New value: +"platformId values of FAILED rows from list_post_results (not platform names). At least one"
    • changedOutput schema / properties / result / description
      Previous value: -"The retry outcome for the requested platform IDs as returned by the AdaptlyPost API."New value: +"An object with postId, queuedPlatforms (platforms re-queued for publishing), and isScheduled: false. Outcomes arrive asynchronously in list_post_results."
  2. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

The description fully discloses the tool's behavior: it resets failed rows to PENDING, moves the post to PUBLISHING, performs retries asynchronously, and does not allow content changes. This aligns with the annotations (readOnlyHint=false, destructiveHint=false) and gives the agent a complete mental model of side effects.

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?

The description is well-structured and front-loads the primary purpose, but it includes some redundancy (e.g., mentioning asynchronous behavior twice, restating the condition about failed rows). It is slightly longer than necessary but remains efficient and clear.

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?

The description provides sufficient context for an agent to decide when and how to use the tool: it references the prerequisite list_post_results call, explains the asynchronous nature, and gives practical guidance on retry conditions. Since an output schema exists, not describing return values is acceptable. No missing information prevents correct usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the schema already covers both parameters (id and platformIds) with descriptions, the tool description adds significant semantic value: it specifies that platformIds come from list_post_results, that they are row IDs rather than platform names, that at least one is required, and that only FAILED rows are processed. This enriches the schema information.

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?

The description clearly states the tool's function: re-queueing publishing for failed platforms. It specifies the action (reset to PENDING, retry) and the target (a post's failed platforms), making its purpose unmistakable and distinguishable from sibling tools like list_post_results or update_post.

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?

The description provides explicit usage directions: call it after retrieving platformIds and errorMessages from list_post_results, retry only after the cause is fixed, and avoid retrying when the failure is a platform-side restriction. It also clarifies that only rows with status FAILED and IDs in platformIds are affected, and that other IDs are ignored.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adaptlypost/agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server