Skip to main content
Glama
Todoist AI MCP Server
by todoist

find-sections

Read-onlyIdempotent

Search a project’s sections by name or criteria with server-side matching; archived sections are excluded by default and can be included when needed.

Instructions

Search for sections by name or other criteria in a project. When searching, uses server-side search to avoid fetching all sections. Archived sections are left out unless archivedStatus is set.

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": {
      "projectId": "<projectId>"
    },
    "name": "find-sections"
  }
}

Input 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.
archivedStatusNoDefault 'active'. 'archived' returns only archived sections, 'all' both.

Output Schema

NameRequiredDescriptionDefault
sectionsYesThe found sections.
totalCountYesThe total number of sections found.
appliedFiltersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv21.0.2
    • addedInput schema / properties / archivedStatus
      Added value: +{
      +  "description": "Default 'active'. 'archived' returns only archived sections, 'all' both.",
      +  "enum": [
      +    "active",
      +    "archived",
      +    "all"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / sections / items / properties / isArchived
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / sections / items / required
      Previous value: -[
      -  "id",
      -  "name",
      -  "sectionOrder"
      -]New value: +[
      +  "id",
      +  "name",
      +  "sectionOrder",
      +  "isArchived"
      +]
  2. 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"
  3. Changed5 schema fields changedv12.5.3
    • removedOutput schema / properties / appliedFilters / description
      Removed value: -"The filters that were applied to the search."
    • changedOutput schema / properties / sections / items / properties / description / description
      Previous value: -"The description of the section. Supports Markdown."New value: +"Supports Markdown."
    • removedOutput schema / properties / sections / items / properties / id / description
      Removed value: -"The unique ID of the section."
    • removedOutput schema / properties / sections / items / properties / name / description
      Removed value: -"The name of the section."
    • changedOutput schema / properties / sections / items / properties / sectionOrder / description
      Previous value: -"The ordering index of the section within its project."New value: +"Ordering index within the project."
  4. Changed2 schema fields changedv12.1.2
    • addedOutput schema / properties / sections / items / properties / sectionOrder
      Added value: +{
      +  "description": "The ordering index of the section within its project.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / sections / items / required
      Previous value: -[
      -  "id",
      -  "name"
      -]New value: +[
      +  "id",
      +  "name",
      +  "sectionOrder"
      +]
  5. First observedv10.4.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds one genuine behavioral fact — search is executed server-side rather than by fetching all sections — but the archive-exclusion rule largely restates the archivedStatus schema description, so added value is modest.

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?

Three short sentences, front-loaded with the core action, and no wasted framing. The final sentence slightly duplicates the archivedStatus schema text, which keeps it from being maximally tight.

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 three-parameter read tool with full schema coverage, rich annotations, and an output schema, the description supplies everything the agent needs: scope, the server-side search trait, and the default archive filter. Return values need not be explained given the output schema.

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%, with projectId, searchText (wildcards, case-insensitivity), and the archivedStatus enum all fully documented in the schema. The description adds no syntax or format detail beyond that, so the baseline of 3 applies.

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 and resource ("Search for sections") and scopes it to a project, which clearly separates it from task-, project-, and label-oriented siblings. It stops short of naming an alternative tool, so differentiation rests on the resource noun alone.

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?

There is an implied usage rule: archived sections are excluded unless archivedStatus is set, and searchText can be omitted to return everything. However, there is no explicit statement of when to prefer this tool over a general search or find-projects call, so the agent must infer the boundary.

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