Skip to main content
Glama

task_finish

Idempotent

Close the plan and emit the final-review report only after all tasks are done. Use it to verify completion and generate the closing summary.

Instructions

Close the plan and emit the final-review report (all tasks must be done).

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

Input Schema

NameRequiredDescriptionDefault
noteNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.14.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and idempotentHint=true, so the description's added value is the completion precondition and the fact that a final-review report is emitted. It does not say what happens if the precondition fails (error vs. partial close) or whether the close is reversible, which matters for an irreversible-looking plan-level mutation.

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?

A single tight sentence with the action front-loaded and the precondition in a parenthetical. Nothing is wasted, though the extreme brevity is partly under-specification rather than pure economy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so the return report needn't be described. However, for a plan-terminating mutation, the definition omits failure behavior and the meaning of its one parameter, leaving an agent uncertain at exactly the moment it is closing out the plan.

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

Parameters2/5

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

One optional 'note' parameter with 0% schema description coverage, and the description says nothing about it — no indication of what the note is for, where it surfaces, or whether it affects the report. With no schema documentation, the description needed to compensate and does not.

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 outcome: 'Close the plan and emit the final-review report.' This distinguishes it from per-task siblings like task_complete or task_abandon by framing it as a plan-level finalization, though it never names an alternative 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?

Gives a clear precondition ('all tasks must be done') that tells the agent when the call is valid, but offers no guidance on what to do instead when that condition is unmet (e.g., block, abandon, or finish remaining tasks).

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