Skip to main content
Glama
Todoist AI MCP Server
by todoist

find-completed-tasks

Read-onlyIdempotent

Retrieves completed tasks within a date range to help you review finished work and filter results by project, labels, section, or responsible user.

Instructions

Get completed tasks in a date range. Neither getBy mode returns completions of a recurring task that is still active. For "what did I complete/get done" questions, or whenever recurring work should count, use find-activity instead — it reports completion events, including every occurrence of a recurring task. since/until are optional and default to a 7-day window when omitted. Includes all collaborators by default. Person-specific queries (summaries, plans, reports) require responsibleUser.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find-completed-tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
getByNoThe method to use to get the tasks: "completion" to get tasks by completion date (ie, when the task was actually completed), "due" to get tasks by due date (ie, when the task was due to be completed by).completion
limitNoThe maximum number of tasks to return.
sinceNoOptional start date for completed tasks. Format: YYYY-MM-DD. Defaults to 6 days before until (or today if until is omitted), resulting in a 7-day window.
untilNoOptional end date for completed tasks. Format: YYYY-MM-DD. Defaults to 6 days after since (or today if since is omitted), resulting in a 7-day window.
cursorNoThe cursor to get the next page of tasks (cursor is obtained from the previous call to this tool, with the same parameters).
labelsNoThe labels to filter the tasks by
parentIdNoThe ID of the parent task to get the tasks for.
projectIdNoThe ID of the project to get the tasks for. Project ID should be an ID string, or the text "inbox", for inbox tasks.
sectionIdNoThe ID of the section to get the tasks for.
workspaceIdNoThe ID of the workspace to get the tasks for.
labelsOperatorNoThe operator to use when filtering by labels. This will dictate whether a task has all labels, or some of them. Default is "or".
responsibleUserNoFilter completed tasks assigned to this user. User ID, name, or email. For personal queries (summaries, plans, reports), set to current user from user-info to exclude collaborators. Defaults to all collaborators.

Output Schema

NameRequiredDescriptionDefault
tasksYesThe found completed tasks.
hasMoreYes
nextCursorNo
totalCountYesThe total number of tasks in this page.
appliedFiltersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv13.8.4
    • removedOutput schema / properties / tasks / items / properties / recurring / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]
    • addedOutput schema / properties / tasks / items / properties / recurring / type
      Added value: +[
      +  "boolean",
      +  "string"
      +]
  2. Changed1 schema field changedv13.3.0
    • changedOutput schema / properties / tasks / items / properties / duration / description
      Previous value: -"e.g. \"2h30m\"."New value: +"e.g. \"2h30m\", or \"3d\" for a day-based duration."
  3. Changed1 schema field changedv13.2.7
    • addedOutput schema / properties / tasks / items / properties / isDeleted
      Added value: +{
      +  "description": "True when deleted; absent otherwise.",
      +  "type": "boolean"
      +}
  4. Changed4 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"
    • changedInput schema / properties / since / allOf
      Previous value: -[
      -  {
      -    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -    "type": "string"
      -  },
      -  {
      -    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      +  },
      +  {
      +    "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      +  }
      +]
    • changedInput schema / properties / until / allOf
      Previous value: -[
      -  {
      -    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -    "type": "string"
      -  },
      -  {
      -    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      +  },
      +  {
      +    "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      +  }
      +]
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  5. Changed21 schema fields changedv12.5.3
    • removedOutput schema / properties / appliedFilters / description
      Removed value: -"The filters that were applied to the search."
    • removedOutput schema / properties / hasMore / description
      Removed value: -"Whether there are more results available."
    • removedOutput schema / properties / nextCursor / description
      Removed value: -"Cursor for the next page of results."
    • changedOutput schema / properties / tasks / items / properties / addedAt / description
      Previous value: -"When the task was created (ISO 8601 format)."New value: +"ISO 8601."
    • removedOutput schema / properties / tasks / items / properties / assignedByUid / description
      Removed value: -"The UID of the user who assigned this task."
    • changedOutput schema / properties / tasks / items / properties / checked / description
      Previous value: -"Whether the task is checked/completed."New value: +"Whether the task is completed."
    • changedOutput schema / properties / tasks / items / properties / completedAt / description
      Previous value: -"When the task was completed (ISO 8601 format)."New value: +"ISO 8601."
    • changedOutput schema / properties / tasks / items / properties / content / description
      Previous value: -"The task title/content."New value: +"Task title."
    • changedOutput schema / properties / tasks / items / properties / deadlineDate / description
      Previous value: -"The deadline date of the task (ISO 8601 format)."New value: +"ISO 8601."
    • removedOutput schema / properties / tasks / items / properties / description / description
      Removed value: -"The task description."
    • changedOutput schema / properties / tasks / items / properties / dueDate / description
      Previous value: -"The due date of the task (ISO 8601 format)."New value: +"ISO 8601."
    • changedOutput schema / properties / tasks / items / properties / duration / description
      Previous value: -"The duration of the task (e.g., \"2h30m\")."New value: +"e.g. \"2h30m\"."
    • removedOutput schema / properties / tasks / items / properties / id / description
      Removed value: -"The unique ID of the task."
    • changedOutput schema / properties / tasks / items / properties / isUncompletable / description
      Previous value: -"Whether the task is uncompletable (organizational header)."New value: +"An organizational header, not a real task."
    • removedOutput schema / properties / tasks / items / properties / labels / description
      Removed value: -"The labels attached to this task."
    • removedOutput schema / properties / tasks / items / properties / parentId / description
      Removed value: -"The ID of the parent task (for subtasks)."
    • changedOutput schema / properties / tasks / items / properties / priority / description
      Previous value: -"The priority level: p1 (highest), p2 (high), p3 (medium), p4 (lowest)."New value: +"p1 is highest, p4 lowest."
    • removedOutput schema / properties / tasks / items / properties / projectId / description
      Removed value: -"The ID of the project this task belongs to."
    • changedOutput schema / properties / tasks / items / properties / recurring / description
      Previous value: -"Whether the task is recurring, or the recurrence string."New value: +"False when not recurring, otherwise the recurrence string."
    • removedOutput schema / properties / tasks / items / properties / responsibleUid / description
      Removed value: -"The UID of the user responsible for this task."
    • removedOutput schema / properties / tasks / items / properties / sectionId / description
      Removed value: -"The ID of the section this task belongs to."
  6. Changed1 schema field changedv10.5.0
    • addedOutput schema / properties / tasks / items / properties / addedAt
      Added value: +{
      +  "description": "When the task was created (ISO 8601 format).",
      +  "type": "string"
      +}
  7. First observedv10.4.2

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, and the description adds real behavior beyond them: neither getBy mode returns completions of still-active recurring tasks, omitted dates fall back to a 7-day window, and results include all collaborators by default. These are non-obvious semantic quirks an agent would otherwise get wrong, which is exactly the value the description should add on top of annotations.

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?

Four dense sentences, front-loaded with the core purpose and the misleading-results warning before defaults and filtering notes. Minor waste in the since/until default sentence, which duplicates the schema, but nothing is padded or buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter read tool with full schema coverage and an output schema, the description covers purpose, the recurring-task blind spot, rerouting, default window, and collaborator scoping — everything an agent needs to call it correctly without describing return values.

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; the description earns an extra point by flagging the one parameter with a common misuse mode — responsibleUser must be set for personal summaries/plans/reports or collaborators are silently included. The since/until default sentence largely restates the schema, so it is reinforcement rather than new meaning.

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 and scope: "Get completed tasks in a date range." It then immediately carves out what this tool does NOT cover (recurring-task completions) and names the sibling that does, letting an agent distinguish it from find-activity and find-tasks without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit routing: for "what did I complete/get done" questions or when recurring work should count, use find-activity instead. It also states the inverse condition (this tool covers completion/due-date lookups of non-active recurring tasks) and adds a prerequisite-style rule that person-specific queries require responsibleUser. When-to-use, when-not-to-use, and the alternative are all present.

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