Skip to main content
Glama
Doist
by Doist

find-tasks-by-date

Read-onlyIdempotent

Retrieve Todoist tasks by date range, including overdue items. Filter by labels, responsible user, and paginate results to manage daily workload.

Instructions

Get tasks by date range. startDate='today' includes overdue items. Default responsibleUserFiltering='unassignedOrMe' excludes others' tasks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoThe maximum number of tasks to return. Default is 10.
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
daysCountNoThe number of days to get the tasks for, starting from the start date. Default is 1 which means only tasks for the start date.
startDateNoThe start date to get the tasks for. Format: YYYY-MM-DD, or 'today', which by default also includes overdue tasks.
overdueOptionNoHow to handle overdue tasks. 'overdue-only' to get only overdue tasks, 'include-overdue' to include overdue tasks along with tasks for the specified date(s), and 'exclude-overdue' to exclude overdue tasks. Default is 'include-overdue'.
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 tasks assigned to this user. User ID, name, or email. The current user also includes unassigned tasks.
responsibleUserFilteringNoFilter when responsibleUser is omitted. 'assigned'=assigned to others; 'unassignedOrMe'=unassigned+mine; 'all'=everyone. Default: 'unassignedOrMe'.

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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."
  2. Changed1 schema field changedv13.2.7
    • addedOutput schema / properties / tasks / items / properties / isDeleted
      Added value: +{
      +  "description": "True when deleted; absent otherwise.",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changedv13.1.3
    • changedInput schema / properties / responsibleUser / description
      Previous value: -"Filter 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."New value: +"Filter tasks assigned to this user. User ID, name, or email. The current user also includes unassigned tasks."
  4. 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"
  5. Changed22 schema fields changedv12.5.3
    • changedInput schema / properties / startDate / description
      Previous value: -"The start date to get the tasks for. Format: YYYY-MM-DD or 'today'."New value: +"The start date to get the tasks for. Format: YYYY-MM-DD, or 'today', which by default also includes overdue tasks."
    • 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 changedv12.5.0
    • changedInput schema / properties / limit / description
      Previous value: -"The maximum number of tasks to return."New value: +"The maximum number of tasks to return. Default is 10."
  7. 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"
      +}
  8. First observedv10.4.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, covering the safety profile. The description adds valuable behavioral specifics beyond annotations: the semantics of 'today' with overdue inclusion and the default user filtering behavior. No contradiction exists between the description and 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?

The description is two short sentences with no filler. The core action is stated first, and the second sentence packs in two behavior-affecting defaults. It could be slightly more specific about scope but is otherwise well-sized.

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 a rich input schema (100% coverage), output schema, and safety annotations, the description does not need to cover return values or every parameter. It provides the most non-obvious defaults that affect results. The remaining gaps, such as pagination or label behavior, are already handled by the schema and tool output.

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%, so the schema already documents all parameters and defaults. The description highlights startDate and responsibleUserFiltering, but these details are already present in the schema property descriptions. It does not add new parameter meaning beyond what the schema already provides.

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 states a clear verb and resource: 'Get tasks by date range.' It conveys the tool's scope precisely. However, it does not explicitly differentiate from sibling tools like find-tasks or find-completed-tasks, relying on the title and schema for that distinction.

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

Usage Guidelines4/5

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

The description gives important usage context by noting that startDate='today' includes overdue items and that the default responsibleUserFiltering='unassignedOrMe' excludes others' tasks. This helps an agent decide whether this tool fits the request or whether parameters need to be changed. It does not explicitly state when to prefer sibling tools or provide negative usage guidance.

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