Skip to main content
Glama

Ferrite Supply

retry_email

Idempotent

Send a paid order's confirmation email again. Use it when get_order_email shows that the last attempt failed. Returns the state after this attempt. The email provider sees one key for the order, so a buyer does not receive two, and an unpaid order is refused with email_not_ready.

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": {
      "order_id": "<order_id>",
      "manage_token": "<manage_token>"
    },
    "name": "retry_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYesthe order id
manage_tokenYesthe manage token place_guest_order returned for this order; it can also be sent as the x-order-token header

Output Schema

NameRequiredDescriptionDefault
emailYesThe durable confirmation-email outbox entry of one order.
order_idYesThe order id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes beyond the annotations by explaining the dedupe mechanism ('the email provider sees one key for the order, so a buyer does not receive two'), which is the concrete reason the idempotentHint holds. It also discloses the post-attempt return state and the exact refusal signal email_not_ready for unpaid orders, covering mutation side effects that annotations alone do not convey.

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?

Three short sentences, each carrying distinct information: action, trigger, and side-effect/refusal behavior. The action and usage condition are front-loaded with no filler.

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 mutation with an output schema present, the description supplies the trigger, the idempotency guarantee, and the failure mode. Nothing an agent needs in order to call it correctly is missing.

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% and the schema already documents order_id and manage_token, including the x-order-token header alternative. The description adds no parameter-level detail beyond implying an order reference, 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?

States a specific verb and resource ('Send a paid order's confirmation email again') plus the scope qualifier 'paid order'. It is clearly distinguishable from the read-only sibling get_order_email, which is named as the diagnostic that precedes it.

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 an explicit trigger ('when get_order_email shows that the last attempt failed') and an explicit exclusion ('an unpaid order is refused with email_not_ready'). An agent knows both the condition to call and the condition under which the call fails.

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