Skip to main content
Glama

Finish a task

finish_task

Stop a task's clock and mark any remaining steps when the work is complete or ended early, so progress tracking reflects the final status.

Instructions

Call when the whole task is complete (or stopped early). Stops the clock and marks any remaining steps.

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": "finish_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
outcomeNo'done' when finished, 'cancelled' if you stopped early.done
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

A4/5.0
Behavior4/5

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

Annotations declare this is a non-read-only, non-destructive, non-idempotent mutation, and the description adds real value beyond that by disclosing the side effects: the clock stops and remaining steps are marked. It does not address what happens if finish_task is called twice or when no task is running, which matters given idempotentHint=false.

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, front-loaded with the trigger condition followed by the effects. Nothing is redundant or padded.

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 simple two-parameter tool with full schema coverage and annotations, the description covers when to call it and what it changes. The only gap is error or repeat-call behavior, which is minor given the schema already explains task_id omission rules.

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 both parameters (outcome enum and task_id) are already fully documented in the schema. The description adds no additional meaning about their semantics, so the baseline of 3 applies.

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 names a specific action and resource ('whole task is complete') and adds the concrete effects ('Stops the clock and marks any remaining steps'). The phrase 'whole task' implicitly distinguishes it from the sibling complete_step, 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 Guidelines4/5

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

It gives a clear trigger condition: call when the entire task is complete or abandoned early. The contrast with per-step completion is implied by 'whole task', but no alternative tool is named and no explicit when-not guidance is given.

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