Skip to main content
Glama

forge_complete_phase

Close the current phase with a completion summary to advance to the next one. Provide required evidence for gates, QA, design, plan, or user confirmation to validate and persist state for resuming.

Instructions

Closes the CURRENT phase with a summary of what you did/decided, and advances to the next one. The summary is persisted (for resuming). Do not close a phase you have not actually done. Phases with a completionSchema (gates, qa, design, plan), phases needing user confirmation, and optional phases require structured evidence matching their contract — see the rejection message if it is missing or invalid.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
runIdNoRun id; optional when exactly one run is active.
summaryYesWhat you did/decided in this phase (the artifact that closes it).
evidenceNoStructured evidence closing this phase (required shape depends on the phase): gates needs {lintExit,buildExit,testExit} all 0; qa needs {passed:true,failures,adversarial:{attacksTried,...}}; design needs {brainstormDone,designBriefDone,qaPlanDone,qualityGuideDone} all true; plan needs {leaves:[{leafId,block,owns},...]}; a phase needing user input needs {userConfirmed:true}; skipping an optional phase needs {skipped:true,reason}.
Behavior4/5

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

With no annotations provided, the description carries the full burden and does a good job: it discloses side effects (closes current phase, advances to next, persists summary) and warns about required structured evidence. It could additionally explain reversibility or what happens to the current phase after closure, but it is already genuinely informative.

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 with no filler. The main action is front-loaded, and the evidence caveat logically follows immediately. Every clause earns its place, including the guardrail against closing uncompleted phases.

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 tool with nested objects, no annotations, and no output schema, the description covers the essential invocation context: what the tool does, what is persisted, when evidence is required, and how invalid evidence is surfaced. It does not describe the return value, but that is not critical for correct invocation here.

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%, so the baseline is 3. The description adds some framing—'summary is persisted' and 'evidence matching their contract'—but the input schema already provides detailed evidence shapes for gates, qa, design, plan, user confirmation, and optional phases. runId is left to the schema, which adequately covers it.

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 clearly states the verb/resource/effect: 'Closes the CURRENT phase with a summary...' and 'advances to the next one.' It also conveys the tool's core contract around persisted summaries and structured evidence. However, it does not explicitly contrast itself with sibling tools like forge_next, so it misses the full sibling-differentiation benchmark.

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 an explicit when-not: 'Do not close a phase you have not actually done.' It also specifies when evidence is required (completionSchema phases, user-confirmation phases, optional phases) and points to the rejection message for invalid evidence. It does not explicitly name alternatives or say 'use forge_next instead', so it stops short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DevRik99/forge-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server