Skip to main content
Glama

Complete a task

complete_task

Mark a task as done using its ID or a unique text fragment, and stamp today's completion date automatically. Use it to close out tasks tracked in your knowledge vault.

Instructions

Mark a task done by id (from list_tasks) or by a unique text fragment. Stamps today's date.

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

Input Schema

NameRequiredDescriptionDefault
taskYesTask id or unique text fragment

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it correctly signals a mutation and discloses the date-stamping side effect, which the schema does not. It omits failure behavior — what happens for an unknown id, a non-unique fragment, or an already-completed task — which is material for a write tool.

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 compact sentences, front-loaded with the action and ending with the observable side effect. Nothing is padding and no sentence repeats the schema verbatim.

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?

For a one-parameter tool with no annotations and no output schema, the definition covers input sourcing and the state change, which is most of what an agent needs. The remaining gap is edge-case behavior on ambiguous or missing matches, which matters because the tool accepts free text rather than only ids.

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

Parameters4/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, but the description adds real meaning: it says where to get the id (list_tasks) and imposes a uniqueness precondition on the text-fragment form that the schema's 'unique text fragment' phrasing does not explain operationally.

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 verb ('mark done'), the resource (task), and the two accepted identifying forms, plus the side effect of stamping today's date. It is clearly a completion action rather than a generic field edit, though it doesn't explicitly contrast itself with update_task.

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 usefully points the agent at list_tasks as the source of ids and notes that a text fragment must be unique, which implies a pre-check before calling. It stops short of stating when to prefer this over update_task or what to do when the fragment is ambiguous.

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