Skip to main content
Glama

Retry failed email preparation

retry_campaign_email_preparation

Put prepared emails that failed validation/generation back in the queue (max 3 attempts each). Nothing is sent.

Input Schema

NameRequiredDescriptionDefault
idYesCampaign id (UUID) from list_campaigns

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that retries are capped at 3 attempts per email and that nothing is sent, but it omits permission requirements, what happens after the cap is reached, and what state or return the caller should expect.

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?

The description is a single compact sentence with the retry condition front-loaded and the no-send safety note immediately following. Every clause carries useful information and there is 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?

For a one-parameter tool whose id is fully documented in the schema, the description provides enough to understand the action, trigger, attempt limit, and safety profile. It leaves edge behavior such as post-cap outcomes unspecified, but the core invocation context is complete.

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?

There is only one parameter and schema coverage is 100%, with id documented as a campaign UUID from list_campaigns. The description adds no parameter-level meaning beyond what the schema already provides, so the baseline score of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

It states a specific verb (put back in the queue), the resource (prepared emails), and the exact condition (failed validation/generation). It implicitly distinguishes itself from prepare_campaign_emails by scoping the action to failures, but does not name that sibling explicitly.

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?

The trigger condition is clear: use it for emails that failed validation or generation. It also notes the max-3-attempt limit, but does not say when not to use it or explicitly point to prepare_campaign_emails for first-time preparation.

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