Skip to main content
Glama
Todoist AI MCP Server
by todoist

add-sections

Add one or more sections to Todoist projects by providing section names, project IDs, and optional Markdown descriptions. Use this to organize tasks into distinct sections within projects.

Instructions

Add one or more new sections to projects.

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

Input Schema

NameRequiredDescriptionDefault
sectionsYesThe array of sections to add.

Output Schema

NameRequiredDescriptionDefault
failuresYesSections that could not be created, with the reason for each.
sectionsYesThe created sections.
totalCountYesThe total number of sections created.
failureCountYes
successCountYes
totalRequestedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv18.1.0
    • addedOutput schema / properties / failures / items / properties / retryAfterSeconds
      Added value: +{
      +  "minimum": 0,
      +  "type": "number"
      +}
  2. Changed1 schema field changedv17.0.0
    • addedInput schema / properties / sections / maxItems
      Added value: +25
  3. Changed4 schema fields changedv13.8.0
    • removedOutput schema / properties / failureCount / description
      Removed value: -"The number of failed section creations."
    • changedOutput schema / properties / failures / description
      Previous value: -"Sections that could not be created, with the reason for each. A failure here does not affect the other sections in the batch — do not retry the whole batch; address or drop the failed items."New value: +"Sections that could not be created, with the reason for each."
    • removedOutput schema / properties / successCount / description
      Removed value: -"The number of successfully created sections."
    • removedOutput schema / properties / totalRequested / description
      Removed value: -"The total number of sections requested."
  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. Changed7 schema fields changedv12.5.3
    • removedOutput schema / properties / failures / items / properties / code / description
      Removed value: -"The error code, if available."
    • removedOutput schema / properties / failures / items / properties / error / description
      Removed value: -"The error message."
    • changedOutput schema / properties / failures / items / properties / item / description
      Previous value: -"The item that failed (usually an ID or identifier)."New value: +"Usually the ID of the item that failed."
    • 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."
  6. Changed5 schema fields changedv12.2.4
    • addedOutput schema / properties / failureCount
      Added value: +{
      +  "description": "The number of failed section creations.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / failures
      Added value: +{
      +  "description": "Sections that could not be created, with the reason for each. A failure here does not affect the other sections in the batch — do not retry the whole batch; address or drop the failed items.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "description": "The error code, if available.",
      +        "type": "string"
      +      },
      +      "error": {
      +        "description": "The error message.",
      +        "type": "string"
      +      },
      +      "item": {
      +        "description": "The item that failed (usually an ID or identifier).",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "item",
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / successCount
      Added value: +{
      +  "description": "The number of successfully created sections.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / totalRequested
      Added value: +{
      +  "description": "The total number of sections requested.",
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "sections",
      -  "totalCount"
      -]New value: +[
      +  "sections",
      +  "totalCount",
      +  "failures",
      +  "totalRequested",
      +  "successCount",
      +  "failureCount"
      +]
  7. 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"
      +]
  8. First observedv10.4.2

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive write, so the safety profile is covered. The description adds nothing beyond that: it does not say whether duplicate-named sections are created, where new sections are positioned, or what happens on partial failure in a batch.

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?

A single short sentence with no wasted wording and the action front-loaded. It is terse rather than padded, though the terseness is a symptom of missing information scored elsewhere.

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

Completeness3/5

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

An output schema exists and the input schema is fully documented, so return values and parameter formats need no prose. Still, for a batch mutation tool the description leaves the agent without key operational context such as duplicate handling or ordering of added sections.

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 explains 'sections', 'name', 'projectId' (including the 'inbox' special value), and the 1–25 bounds. The description only restates the array semantics, which is baseline-level value given the schema does the heavy lifting.

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 gives a specific verb and resource ('Add ... new sections to projects') and conveys the batch capability with 'one or more'. It does not distinguish this from siblings such as update-sections or find-sections, so it stops short of a 5.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus update-sections or find-sections, no mention of prerequisites like resolving a projectId first, and no exclusions. The agent must infer all routing from sibling names alone.

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