Skip to main content
Glama

Retry a failed reply

colliedesk_reply_retry
Destructive

Send again a reply whose email delivery failed (delivery "failed" in colliedesk_conversation_get). It goes to the same recipients. It cannot be undone: the customer receives the email. Before you call it, show the user what you will do and get their yes, unless they already told you to do exactly this. Only a failed delivery can be retried; a queued or sent one is refused, so a repeat never sends twice.

Needs: messages:send.

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": {
      "conversation_id": "<conversation_id>",
      "message_id": "<message_id>"
    },
    "name": "colliedesk_reply_retry"
  }
}

Input Schema

NameRequiredDescriptionDefault
message_idYesThe id of the failed reply.
conversation_idYes

Output Schema

NameRequiredDescriptionDefault
deliveryYes
message_idYes
conversation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=false; the description goes beyond them by explaining why it is destructive (the customer receives the email, it cannot be undone) and how the failure precondition prevents a double send. It also surfaces the auth need (messages:send), which annotations do not cover.

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 irreversible consequence and precondition are front-loaded, and the confirmation instruction follows logically. The two sentences on non-reversibility overlap slightly ("cannot be undone" / "customer receives the email" plus "repeat never sends twice"), but each carries a distinct safety point.

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 destructive action with an output schema and strong annotations, the description supplies everything an agent needs: precondition, status-check source, irreversibility, recipient behavior, and permission requirement. Return values need not be described because an output schema exists.

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 50%. The description confirms message_id refers to a failed reply and points at colliedesk_conversation_get as the source of that state, but the schema already says message_id is "the id of the failed reply." conversation_id gets no explanation in either place beyond its UUID pattern, so the description only partially compensates for the coverage gap.

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 states a specific verb and resource ("send again a reply") plus the exact precondition: the delivery must be "failed" in colliedesk_conversation_get. It distinguishes itself from a normal send by noting that queued or sent replies are refused, so an agent can tell it apart from colliedesk_reply_send without opening either schema.

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?

It gives explicit when-to-use (failed delivery), when-not (queued or sent is refused), how to verify state first (check colliedesk_conversation_get), and a confirmation protocol with the user before calling. It also states the required permission scope, leaving nothing to inference.

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