Skip to main content
Glama

complete_phase

Mark the current development phase as done, record key decisions permanently, and advance to the next phase. Optionally backfill historical phases or attach a git reference.

Instructions

Mark the current phase as complete and advance to the next upcoming phase. Records key_decisions permanently. Requires phase_number to match current phase (safety check). v2.1.2 Item 10: pass backfill=True + completed_at='YYYY-MM-DD' to retroactively mark a historical phase done without advancing the queue. v2.1.2 Item 12: pass git_ref to link a commit sha or PR ref to the completion.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
git_refNov2.1.2: optional commit sha / PR ref the phase shipped at
backfillNov2.1.2: allow marking any phase done without advancing the queue
completed_atNov2.1.2: ISO date for backfill (defaults to today)
phase_numberYesMust match current phase (unless backfill=True)
key_decisionsYesDecisions made — preserved for all future agents
Behavior4/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false. The description adds that key_decisions are recorded permanently and that backfill does not advance the queue, which clarifies write behavior and the safety check. It does not contradict annotations and provides useful context beyond the schema.

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?

The description is concise (three sentences plus two bullet-like items) and front-loaded with the core action. Every sentence adds value: main action, safety requirement, special cases for backfill and git_ref. No wasted words.

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?

Given the tool's complexity (multiple modes, safety check) and lack of output schema, the description adequately covers the main use cases and parameters. However, it does not explain side effects on other system state (e.g., phase status transitions) beyond advancing the queue.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds significant value by explaining the purpose of phase_number as a safety check, the backfill workflow (with required parameters), and the git_ref linking. This frames parameters in a functional context beyond their schema definitions.

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?

The description explicitly states the tool's main action: 'Mark the current phase as complete and advance to the next upcoming phase.' It also mentions recording key decisions permanently and includes a safety check. This clearly distinguishes it from siblings like add_phase (creation) or defer_phase (postponement).

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 description provides specific usage guidance: normal use requires phase_number to match the current phase, and it offers two alternative use cases (backfill for historical phases and linking git_ref). While it does not explicitly state when not to use, the clarity of the normal mode and backfill alternative implies appropriate contexts.

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/sachinshelke/codevira'

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