Skip to main content
Glama
Doist
by Doist

find-sections

Read-onlyIdempotent

Search for sections in a Todoist project by name or criteria, using server-side search to avoid fetching all sections.

Instructions

Search for sections by name or other criteria in a project. When searching, uses server-side search to avoid fetching all sections.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesThe ID of the project to search sections in. Project ID should be an ID string, or the text "inbox", for inbox tasks.
searchTextNoSearch for a section by name (partial and case insensitive match). Supports wildcards (e.g. "work*" for prefix match). Use "\*" for a literal asterisk. If omitted, all sections in the project are returned.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
sectionsYesThe found sections.
totalCountYesThe total number of sections found.
appliedFiltersYesThe filters that were applied to the search.
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint, and idempotentHint, so the safety profile is clear. The description adds useful behavioral context by noting that server-side search avoids fetching all sections, enhancing the agent's understanding of performance implications.

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?

Two sentences, precise and front-loaded. Every sentence adds value: first states purpose, second adds behavioral detail. No redundancy.

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?

The description covers purpose and key behavior. The schema details (case-insensitivity, wildcards) are available to the agent. The only minor gap is not restating the fallback to all sections when searchText is omitted, but the schema handles that.

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 coverage is 100% with both parameters having descriptions. The description does not add meaning beyond the schema; baseline 3 is appropriate.

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 clearly identifies the resource ('sections') and action ('Search'), distinguishing it from sibling find-* tools. The vague phrase 'other criteria' is clarified by the schema, but could be more precise within the description itself.

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

Usage Guidelines3/5

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

The description implies usage for searching sections and mentions server-side search, but does not explicitly state when to use this tool vs alternatives (e.g., when to fetch all sections vs search by name). No exclusions or prerequisites are provided.

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-ai'

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