Skip to main content
Glama

Alerts Resend Delivery

alerts_resend_delivery
Destructive

Send one of the user's own alert deliveries again (the same as POST /v1/alerts/deliveries/{id}/resend): the webhook or e-mail of an event that failed, expired or was lost on the receiving side. Take the delivery id from the delivery list of an event in alerts_events. Works whatever the delivery's status, up to 15 days after its event; it is queued for an immediate attempt with the same event id and a fresh signature, then retried as usual. Returns {id, status, result} where result is queued, already_queued or sending. Queued is a request, not a promise: the sender checks the rule and the channel again, so a delivery whose rule is off or whose channel is disabled or deleted is skipped again, and a paused channel delays the attempt. An error for a delivery that is not the user's own, is older than 15 days or is unsupported (its channel cannot carry that kind of event, so it would fail the same way). A wallet-orders event older than about an hour is sent again with its totals only: its orders list is kept 1 hour.

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": {
      "delivery_id": "<delivery_id>"
    },
    "name": "alerts_resend_delivery"
  }
}

Input Schema

NameRequiredDescriptionDefault
delivery_idYesThe delivery `id` from an event's `delivery` list in alerts_events.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare it is non-read-only, non-idempotent and destructive; the description goes well beyond that by explaining that the resend is queued, uses the same event id with a fresh signature, and is subject to rule/channel re-checks so a queued resend is 'a request, not a promise'. It also discloses failure semantics and the wallet-orders one-hour order-detail retention, none of which the annotations carry.

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?

Purpose and id sourcing are front-loaded, and each subsequent sentence adds genuinely distinct information (timing window, return shape, queued caveats, error cases). The closing error and wallet-orders sentences are fragmentary and harder to parse than the earlier prose, costing some readability.

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?

Despite there being no output schema, the description documents the return shape ({id, status, result} with queued/already_queued/sending) and explains the asynchronous nature of those values. Combined with the 15-day window, error conditions, and channel-state caveats, an agent has everything needed to call and interpret results.

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

Parameters4/5

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

Schema coverage is 100% and the single delivery_id parameter already documents exactly where the id comes from, so the description mostly restates it. It adds modest value by tying the id to the alerts_events delivery list in the same sentence as the endpoint behavior, but no additional format or type detail beyond the schema.

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 one of the user's own alert deliveries again') and anchors it to the equivalent REST endpoint, so an agent knows exactly what the tool does and can distinguish it from alerts_events (read) or alerts_create (configuration). The scope is qualified as the user's own deliveries, which is a real constraint, not filler.

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?

Explicitly names the triggering situations (webhook or e-mail of an event that failed, expired or was lost) and tells the agent where to source the id ('the delivery list of an event in alerts_events'). It also gives the when-not conditions: deliveries not owned by the user, older than 15 days, or marked unsupported all return an error, so an agent can pre-screen before calling.

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.