Skip to main content
Glama

requeue_failed_email

Requeue one failed notification-email outbox row for immediate retry. Owner/admin only, org-scoped, and idempotent if repeated after the row is already pending. Sent or suppressed rows are rejected. Mirrors POST /v1/orgs/{org_id}/email-outbox/{outbox_id}:requeue.

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": {
      "org_id": "<org_id>",
      "outbox_id": "<outbox_id>"
    },
    "name": "requeue_failed_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
org_idYes
outbox_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does well: it states permission requirements (owner/admin only), tenant scoping, idempotency semantics on repeated calls after the row is already pending, and rejection of sent/suppressed rows. It omits details like rate limits or what the response/retry state transition looks like, but the core mutation behavior is disclosed.

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?

Four short sentences, each carrying distinct information (action, auth, idempotency, rejection rules), with the primary verb and resource front-loaded and no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given an output schema exists, return-value explanation is unnecessary, and the description covers permissions, scoping, idempotency, and failure conditions for a simple two-parameter mutation. Slightly more on how the ids are sourced or what constitutes an immediate-retry outcome would close the remaining gap.

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 description coverage is 0%, so the description must compensate; it does so partially by implying outbox_id must identify a *failed* row and by describing org scoping. It adds no format or lookup guidance (e.g. how to obtain the ids or what the uuid refers to) beyond the raw schema types.

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 (requeue) and resource (one failed notification-email outbox row) with an explicit action scope (immediate retry). The definition also names the underlying REST endpoint, so an agent can map this to a precise operation and distinguish it from any list/read outbox sibling.

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?

Gives clear conditions under which the tool is valid (failed row, owner/admin, org-scoped) and exclusions (sent or suppressed rows are rejected). It stops short of naming an explicit alternative tool for non-failed rows, but the positive/negative conditions are sufficient to route a caller.

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