Skip to main content
Glama

OpenFactory

retry_build

Retry a failed build.

Re-queues the build with the same recipe. Use this if a build failed due to a transient error.

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": {
      "build_id": "<build_id>"
    },
    "name": "retry_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour OpenFactory MCP API key (optional)
build_idYesThe build ID to retry
session_tokenNoSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations at all, the description carries the disclosure burden. It does add useful behavioral facts — the build is re-queued unchanged, not recreated or modified — but says nothing about preconditions (must the build actually be in a failed state?), whether retries are limited, or what happens to prior build artifacts/evidence. An output schema exists, so return-value detail is fairly excused.

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 short sentences, action first then condition, with no filler or restatement of the tool name. Every clause contributes.

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 single-required-parameter re-queue tool with a documented schema and an output schema, the definition covers purpose and the triggering condition adequately. The remaining gap is precondition/failure behavior, which matters for an unannotated mutation but is a modest omission.

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 100% with only three parameters, so the schema already explains build_id, api_key, and session_token. The description adds only the implication that build_id identifies the build whose recipe is reused, which is marginal beyond the schema baseline.

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?

"Retry a failed build" plus "re-queues the build with the same recipe" is a specific verb+resource+scope statement that separates it from creation tools like create_build or create_build_from_prompt. It does not explicitly name the sibling it replaces, which keeps it just short of a 5.

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 second sentence gives an explicit condition: use it if the build failed due to a transient error. That is a real usage rule rather than an implied one, but it offers no counter-case (e.g., what to do for deterministic failures such as a bad recipe) and names no alternative tool.

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.