Skip to main content
Glama

Retry a first comment

chirpie_retry_first_comment

Post a first comment that failed, again. A first comment never fails its post, so a published post can be carrying first_comment with status "failed" and a reason; this re-sends the text the post already holds. That text cannot be changed once the post is out, because chirpie_update_post refuses a published post with 409 post_not_editable, so set it while the post is still a draft or still queued. A first comment is a post on the platform, so a retry that works costs one post from the monthly quota, exactly as the first attempt would have. Refusals: 404 first_comment_not_found when the post has none, 409 first_comment_not_retryable when it is already posted or the post has not published, and the platform's own refusal when the retry failed too.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe post whose first comment to retry. For a thread, the last part, which is the one that carries it.
idempotency_keyNoA key of your own making that makes retrying this call safe. The same key with the same request replays the first answer for 24 hours instead of sending it again; the same key with a different request is refused with 422 idempotency_key_reused, and a retry that arrives while the first is still running is refused with 409 idempotency_in_progress; a retry after the first has finished collects the replay.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (which only say this is a non-readonly, non-destructive write), the description discloses the monthly-quota cost of a successful retry, the exact refusal codes (404 first_comment_not_found, 409 first_comment_not_retryable) and the propagation of the platform's own failure. That is genuine operational context an agent cannot get from structured fields.

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 purpose is front-loaded in the first sentence and every subsequent clause carries real information (quota, preconditions, refusal codes). It is a single dense block of long sentences, which is slightly heavy, but there is little filler to cut.

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?

With no output schema, the description fully carries the burden: it covers the trigger condition, quota implications, sibling-tool escape hatch, and every documented failure mode. An agent has enough to call this correctly without further reading.

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%, so both params (id, idempotency_key) are already documented, including the idempotency replay semantics. The description adds the conceptual point that the comment text is carried by the post rather than passed in, but no syntax or format details beyond the schema, so the baseline 3 applies.

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 first sentence gives a specific verb, resource and click-scope: 'Post a first comment that failed, again.' It is immediately distinguishable from siblings like chirpie_update_post and chirpie_reply_to_comment, and it further pins down that the text is the one the post already holds rather than a new body.

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 explains the precondition for use (a first comment left in status 'failed' on a published post) and routes the agent elsewhere when the text must change, citing chirpie_update_post and its 409 post_not_editable refusal. Explicit 'when not to use' is only implied via the refusal list, so it falls just short of a 5.

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.