Skip to main content
Glama
Doist
by Doist

find-tasks-by-date

Read-onlyIdempotent

Find tasks by date range with filters for overdue status, labels, and assignee. Supports 'today' start date to include overdue tasks, and options to narrow results.

Instructions

Get tasks by date range. startDate='today' includes overdue items. Default responsibleUserFiltering='unassignedOrMe' excludes others' tasks. Person-specific queries (summaries, plans, reports) require responsibleUser.

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. For personal queries (summaries, plans, reports), set to current user from user-info to exclude collaborators.
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
Behavior5/5

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

Annotations already declare readOnly, idempotent, and non-destructive hints, but the description adds valuable behavioral context: startDate='today' includes overdue items, default responsibleUserFiltering excludes others' tasks, and person-specific queries require responsibleUser. These details affect how an agent invokes the tool and interprets results, going well beyond the annotation basics.

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?

The description is four short sentences, each providing distinct information: purpose, special startDate behavior, default filtering, and a usage condition for person-specific queries. There is no redundancy or filler; it is front-loaded with the core purpose and then adds high-value details. This is an ideal length and structure.

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?

Given the tool's 9 parameters, rich schema, and annotations, the description covers the most crucial behavioral aspects (date range, overdue handling, default filtering) while schema covers the rest. It does not explain pagination or label filtering, but those are well-documented in the schema. The description is sufficient for an agent to decide when and how to use the tool, with minor gaps on edge cases like overdueOption nuances.

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 meaningful parameter nuance: it explains the interaction between startDate and overdue behavior, and clarifies the default responsibleUserFiltering value. This goes beyond the individual schema descriptions, though it does not cover all nine parameters (e.g., labels, cursor, overdueOption are left to schema). It adds significant value but is not exhaustive.

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?

The description starts with 'Get tasks by date range', which is a specific verb and resource, and clearly distinguishes this tool from sibling tools like find-tasks by narrowing to date-based queries. It also highlights key behaviors such as startDate='today' including overdue items, reinforcing its unique scope. This makes the purpose unmistakable.

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 clear context on when to use the tool (date-range queries) and mentions a specific prerequisite for person-specific queries (requiring responsibleUser). However, it does not explicitly state when not to use it or name alternative tools like find-tasks for non-date-based searches. Thus it provides strong contextual guidance but lacks explicit exclusions and alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Doist/todoist-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server