Skip to main content
Glama

Retry projects

retry_projects

Resume multiple failed projects at once, each from its furthest completed stage; non-failed projects are skipped and one failure does not stop the rest.

Instructions

Resume several failed projects, each from its furthest completed stage (as retry_project). Projects that are not failed are skipped and left as they are; one project's failure does not stop the others. Returns { retried, skipped, failed, results: [{ id, ok, retried?, error? }] }; then wait_for_project on each.

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": {
      "ids": "<ids>"
    },
    "name": "retry_projects"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesProject ids (from list_projects), 1-200

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.43.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses skip semantics for non-failed projects, per-item failure isolation, the return envelope shape, and the follow-up step 'wait_for_project on each'. It does not state permission/auth requirements or whether resuming is idempotent, which keeps it short of full transparency.

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?

Two compact sentences front-load the operation and its scope, then append return shape and the follow-up step. Semicolon-heavy phrasing is dense but every clause carries information; nothing reads as 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?

Despite no output schema, the description spells out the returned fields (retried, skipped, failed, results) and names the natural next call (wait_for_project), which is more than most batch tools provide. Minor gaps remain around failure preconditions and auth, but an agent has enough to invoke and interpret it correctly.

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 a single parameter with 100% schema description coverage, including the 1-200 range and provenance ('from list_projects'). The description adds no meaning about the ids beyond what the schema already documents, so the baseline of 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?

States a specific verb and resource—'Resume several failed projects'—and immediately distinguishes the batch behavior from the single-project sibling by saying 'each from its furthest completed stage (as retry_project)'. An agent can tell this is the bulk version of retry_project without opening either schema.

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 conditional behavior: non-failed projects 'are skipped and left as they are', and 'one project's failure does not stop the others', which tells the agent when this is appropriate (mixed batches). It does not explicitly say when to prefer retry_project or retry_failures instead, so the routing guidance is implied rather than spelled out.

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

Deploy Server

Other Tools