Skip to main content
Glama
Todoist AI MCP Server
by todoist

complete-tasks

Destructive

Mark one or more Todoist tasks as completed by submitting their task IDs, allowing AI agents to close tasks in bulk.

Instructions

Complete one or more tasks by their IDs.

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": {
      "ids": "<ids>"
    },
    "name": "complete-tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesThe IDs of the tasks to complete.

Output Schema

NameRequiredDescriptionDefault
failuresYesFailed task completions with error details.
completedYesThe IDs of successfully completed tasks.
failureCountYesThe number of failed task completions.
successCountYesThe number of successfully completed tasks.
totalRequestedYesThe total number of tasks requested to complete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv18.1.0
    • addedOutput schema / properties / failures / items / properties / retryAfterSeconds
      Added value: +{
      +  "minimum": 0,
      +  "type": "number"
      +}
  2. Changed1 schema field changedv17.0.0
    • addedInput schema / properties / ids / maxItems
      Added value: +50
  3. Changed2 schema fields changedv13.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  4. Changed3 schema fields changedv12.5.3
    • removedOutput schema / properties / failures / items / properties / code / description
      Removed value: -"The error code, if available."
    • removedOutput schema / properties / failures / items / properties / error / description
      Removed value: -"The error message."
    • changedOutput schema / properties / failures / items / properties / item / description
      Previous value: -"The item that failed (usually an ID or identifier)."New value: +"Usually the ID of the item that failed."
  5. First observedv10.4.2

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=false, so the safety profile is covered by structured data. The description adds nothing on top of that — it never says whether completing an already-completed task errors out, whether the change is reversible, or what happens to the remaining 49 items when one ID in the batch is invalid.

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 front-loaded sentence with zero filler and no repetition of the title. It is efficient, though the terseness borders on under-specification rather than crispness.

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?

With only one parameter, full schema coverage and an output schema, the definition is close to complete for invocation mechanics. It still leaves gaps that matter for a destructive, non-idempotent batch mutation: partial-failure semantics and the relationship to uncomplete-tasks are unaddressed.

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% and the single "ids" parameter is fully documented in the schema, including the 1–50 bounds, so the baseline of 3 applies. "By their IDs" restates the schema rather than adding format hints such as whether IDs are opaque strings or where they come from.

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 ("Complete") and resource ("tasks") and adds the batch scope ("one or more ... by their IDs"), so the agent knows exactly what the call does. It does not differentiate itself from the close sibling uncomplete-tasks, leaving the reader to infer the opposite direction from the verb alone.

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 at all: no mention of what to do for tasks that are already complete (uncomplete-tasks), no indication that rescheduling or updating belongs to other tools. The agent must infer the routing decision entirely from the tool name.

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