Skip to main content
Glama

task_complete

Idempotent

Mark a verified task as done only when evidence is recorded, enforcing proof before completion. Completing a task without recorded evidence fails.

Instructions

Mark a verified task done — fails without recorded evidence.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "task_id": "<task_id>"
    },
    "name": "task_complete"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
task_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.14.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and idempotentHint=true, so the disclosure that the call fails absent recorded evidence is genuine added context about a runtime precondition. It does not explain what counts as evidence or the failure mode's error surface, keeping it short of a 5.

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?

A single eight-word sentence, front-loaded with the action and followed immediately by the key constraint. Nothing redundant.

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 return values need no explanation, and the mutation precondition is disclosed. However, for a state-changing tool with zero parameter documentation, the definition leaves the agent guessing about the evidence precondition's mechanics and the note field.

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?

Two parameters at 0% schema description coverage, and the description says nothing about either. The optional "note" parameter is entirely undocumented in both places, so an agent gets no signal on what task_id must reference or what note is for.

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?

Specific verb plus resource ("Mark a ... task done") with a stated precondition ("verified") that separates it from a plain finish operation. It stops short of naming the sibling task_verify that must precede it, so the boundary with task_finish/task_verify is only implied.

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?

"fails without recorded evidence" implies the caller must have run verification first, which is useful usage context. But it never explicitly says when to use this versus task_finish or task_verify, and doesn't state whether evidence is checked automatically or must be supplied.

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