Skip to main content
Glama

Complete Task

complete_task
Idempotent

Mark a task as done, log an optional completion note, persist it as memory, and return dependent tasks it unblocks; handle blocker conflicts with confirmation.

Instructions

Mark a task as done. Optionally log a completion note. Set store_as_memory=true to persist the completion as a memory (org-scoped for an org task, personal for a personal task). Returns unblocked_tasks if completing this task unblocks dependent tasks. If the task is blocked by an incomplete task, a conflict response is returned. Pass force=true to complete anyway after conflict resolution.

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

Input Schema

NameRequiredDescriptionDefault
forceNoDeprecated: use `resolution: "confirm"`. Set true to skip the blocker check.
task_idYesTask UUID to complete.
resolutionNoConflict resolution: 'confirm' completes despite the blocker, 'cancel' aborts.
memory_projectNoProject tag for the memory entry. Only used when store_as_memory is true.
completion_noteNoSummary of what was done. AI agents should always provide this.
store_as_memoryNoIf true and completion_note is provided, stores the completion as a memory: org-scoped for an org task, personal to the task's creator for a personal task.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.9.0
    • changedInput schema / properties / store_as_memory / description
      Previous value: -"If true and completion_note is provided, stores the completion as an org-scoped memory."New value: +"If true and completion_note is provided, stores the completion as a memory: org-scoped for an org task, personal to the task's creator for a personal task."
  2. First observedv1.4.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only establish that this is a non-destructive, idempotent write; the description adds substantive behavior beyond that — the conflict on an incomplete blocker, the unblocked_tasks side effect, and the scoping rule for persisted memories. Its weakness is that the force guidance is stale relative to the schema's deprecation note, which could steer an agent wrong.

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?

Front-loaded with the core action, then layered side effects and edge cases in descending priority; almost no filler. The closing force sentence is the one element that does not earn its place, since it duplicates and contradicts the schema's deprecation note.

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 covers the return surface — unblocked_tasks and the conflict payload — which an agent otherwise could not anticipate. It falls short only on the resolution/force discrepancy, leaving the correct recovery path ambiguous.

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 coverage is 100%, so the baseline is 3 and the schema already documents all six parameters including the confirm/cancel enum. The description reinforces store_as_memory and the conflict flow, but its only parameter-directive sentence endorses the deprecated force flag and never explains the enum it implies.

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?

Opens with a specific verb+resource ("Mark a task as done") that is unambiguously distinct from siblings like update_task, remove_task, and add_task_note. The follow-on sentences about memory persistence and dependency unblocking further pin down what state change occurs.

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?

It gives a real branching rule for the blocked case (conflict response, then complete anyway), which is the main decision point. But it never says when to prefer this over status-change siblings such as update_task, and it points agents at force=true without mentioning the preferred resolution:"confirm" path.

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

Deploy Server

Other Tools