Skip to main content
Glama

Retry failed or cancelled jobs

flow_retry

Re-queue failed or cancelled jobs with their original settings to restart interrupted work without manual reconfiguration.

Instructions

Re-queue failed or cancelled jobs with their original settings.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "flow_retry"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this as a non-read-only, non-destructive, non-idempotent, open-world operation, so the safety profile is largely covered. The description adds real value by disclosing that original settings are preserved on retry, but it omits what happens to partial failures, whether new job IDs are issued, or whether re-queuing consumes quota.

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?

One front-loaded sentence with no filler, and the qualifying condition precedes the action detail. Its brevity is close to the under-specification line but nothing present is wasted.

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

Completeness3/5

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

There is no output schema, so the description could have said what the retry returns, yet annotations carry safety semantics and the eligible-state rule is stated. For a one-parameter mutation tool the definition is adequate but leaves the parameter and result behavior unstated.

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

Parameters2/5

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

The single parameter job_ids has 0% schema description coverage, so the schema itself explains nothing. The description never mentions job_ids, whether it accepts one or many IDs, or what occurs when an ID refers to a non-retriable job. With low coverage the description is expected to compensate and does not.

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?

The description states a specific verb ('re-queue') and a specific resource ('failed or cancelled jobs') plus a scope qualifier ('with their original settings'), which is enough to distinguish it from a cancel or status tool. It does not explicitly name a sibling to contrast with, but the purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the eligibility condition ('failed or cancelled'), which tells the agent which jobs are valid targets. However there is no explicit guidance on when to prefer this over alternatives like flow_new_project or flow_generate for re-running work, and no mention of preconditions beyond job state.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.