Skip to main content
Glama

Complete task

complete_task
Idempotent

Marks a persisted task as completed by its ID, so you can track finished work in the SQLite-backed task list.

Instructions

Mark a persisted task as completed.

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

Input Schema

NameRequiredDescriptionDefault
idYesTask id

Output Schema

NameRequiredDescriptionDefault
taskYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.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, destructiveHint=false, idempotentHint=true, and openWorldHint=false, so the safety profile and repeat-call behavior are covered without the description. "Persisted" adds a small hint that only stored tasks qualify, but the description says nothing about whether completion is reversible, what happens to an already-completed task, or any permission requirements — context the annotations do not supply.

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?

One short, front-loaded sentence with no filler or redundancy — every word earns its place. It is arguably too sparse rather than too verbose, so the efficiency is real but leaves the definition thin.

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 tool's single parameter is fully documented. However, for a state-mutating tool the description omits error behavior (nonexistent id, already-completed task) and any reversibility note, leaving it only minimally adequate.

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% with a single required "id" integer, so the schema already tells the agent everything parameter-wise except task existence. The description adds no meaning about id semantics (e.g., whether it must reference an open task), which is the expected baseline for one fully documented parameter.

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 gives a specific verb and resource ("Mark a ... task as completed"), which is unambiguous about the state transition being performed. It implicitly separates itself from create_task/delete_task/list_tasks by being a state change rather than a lifecycle or read operation, but never names or contrasts a sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites (e.g., task must exist and be open), and no mention of delete_task as the alternative when removal rather than completion is intended. The agent must infer the entire decision context from the tool name and the word "persisted".

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