Skip to main content
Glama

Mark a step finished

complete_step

Marks a finished step as done—either the next pending step or a specified one—and returns the updated time estimate.

Instructions

Call right after finishing a step. Marks the next pending step done (or a specific one) and returns the updated estimate.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "complete_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional short result, e.g. '12 tests passing'.
stepNo1-based step number. Leave out for the next pending step.
skippedNoTrue if the step turned out to be unnecessary.
task_idNoThe task_id returned by start_task. Always pass it; it can only be left out when exactly one task is running.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag this as a non-read, non-idempotent, non-destructive mutation, so the description only needs to add state details. It does: it identifies which step gets mutated by default, that a specific step can be targeted instead, and that the response carries an updated estimate — genuine context beyond the annotations.

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, front-loaded with the call timing, then the effect and return value. No filler, redundancy, or restatement of the title.

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?

With no output schema, the description usefully mentions that an updated estimate is returned, and it covers the default-versus-explicit targeting. It leaves the skipped flag's interaction with the default-step selection unaddressed, a minor gap for a mutation tool carrying four parameters.

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 all four parameters (note, step, skipped, task_id) are already documented in the schema, including the 1-based numbering and the single-running-task exception. The description's "or a specific one" merely echoes the step parameter, adding little new meaning.

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?

States a specific verb and resource: it marks a step done, with default scope (the next pending step) and an override (a specific one). That scope distinction is enough for an agent to know this is the completion call rather than add_steps or finish_task, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Call right after finishing a step" gives a clear trigger condition, which is decent implied guidance. It never says when not to call it, nor routes the agent to finish_task for closing out the whole task or get_progress for a read, so alternatives remain unstated.

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