Skip to main content
Glama

Retry Automation Delivery

retry_automation_delivery
Idempotent

Reset an eligible succeeded or partial lead or trend-research run with failed delivery to pending so Railway retries it on the next cron tick. Manual and generation-failed runs are not deliverable; ownership and generation are checked.

Input Schema

NameRequiredDescriptionDefault
uidNoOptional Firebase uid. Must match the URL uid unless local fallback is enabled.
run_idNo
bearer_tokenNoOptional Firebase ID token. Hosted clients normally authenticate with an API key in the Authorization header or ?uid= in the URL instead.
automation_idNo
conversation_idNoCreator-list key for durable state. Reuse a returned list_id for follow-ups; when omitted, MCP uses the active generated list for this tool chain.
preferences_modeNoHow to apply preferences for this call: 'stored' uses users/{uid}.agentPreferences, 'override' uses agent_preferences only, and 'none' disables stored filtering for this run.
agent_preferencesNoOptional per-call filtering preferences. Use with preferences_mode='override'. For backwards compatibility, passing this without preferences_mode implies override.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses real behavioral context: the reset targets pending state and retry happens asynchronously on the next cron tick, not immediately, and ownership/generation are validated server-side. It doesn't say what the caller sees when eligibility checks fail, which is the remaining gap.

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?

Two sentences, both information-dense: the action and its async consequence first, the eligibility constraints second. No filler, no restatement of the title.

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 7-param, zero-required mutation tool with no output schema and full annotation coverage, the description supplies the essentials: what state change occurs, when it takes effect, and which runs are ineligible. Caller-visible failure modes are the only notable omission and are minor against the annotated safety profile.

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 71% and the description adds no parameter-level meaning at all — it never says whether run_id or automation_id identifies the target, nor how uid/bearer_token interact with the URL identity described in the schema. With coverage in the middle band the schema carries most of the load, 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?

The description uses a precise verb chain ('Reset ... to pending so Railway retries it') and names the exact resource states it operates on: a succeeded or partial lead or trend-research run with failed delivery. The eligibility sentence ('Manual and generation-failed runs are not deliverable') separates it from run_automation_now and test_automation_delivery without needing to name them.

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?

It gives explicit when-not conditions: manual runs and generation-failed runs are out of scope, and eligibility requires a succeeded/partial run that failed delivery. What's missing is a named alternative — it never says 'use run_automation_now if the generation itself failed' or similar, so the agent must infer the fallback path.

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