Skip to main content
Glama

OpenFactory

run_fix_cycle

Propose a fix cycle: create FixIntents for every blocker/major finding (or NEW since baseline if supplied), up to max_findings. M1 STUB — returns the plan without executing. Caller drives apply_fix() per intent. M2 auto-executes via LLM patch generation.

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": {
      "walk_id": "<walk_id>"
    },
    "name": "run_fix_cycle"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoMCP API key
walk_idYesWalk to fix-cycle against.
max_findingsNoCap on FixIntents proposed in this cycle.
session_tokenNoSession token
baseline_walk_idNoWhen set, only fixes findings NEW since baseline.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and discloses the critical behavior: this is a stub that returns a plan without executing anything, so the caller must drive apply_fix() per intent. The M1/M2 framing is slightly ambiguous about which mode is live now, and it omits whether FixIntents persist as server state.

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?

Three short sentences, front-loaded with the core action and followed by the non-execution caveat. The 'M1 STUB' / 'M2' milestone jargon is cryptic and costs a point on clarity.

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?

An output schema exists so return values need no explanation, and the description covers the action, the severity filter, the cap, and the execution model. Minor gaps remain around persistence of created FixIntents and what a caller does with findings beyond max_findings.

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 100%, so the baseline is 3. The description reinforces the meaning of max_findings (cap on intents per cycle) and baseline_walk_id (only NEW findings), but adds no format or edge-case detail beyond what the schema already documents.

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 — 'Propose a fix cycle: create FixIntents for every blocker/major finding' — and explicitly distinguishes itself from the sibling apply_fix by saying the caller drives apply_fix() per intent. An agent can tell this creates proposals rather than applying patches.

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 the qualifying condition for findings (blocker/major, or NEW since baseline when baseline_walk_id is supplied) and points to the follow-up tool apply_fix(). It does not state when the tool should be avoided, but the context is otherwise clear.

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.