Skip to main content
Glama
Todoist AI MCP Server
by todoist

import-into-project

Import a template or CSV content into an existing project to add its tasks, sections, and comments alongside existing items. Use it to populate a named project without creating a new one.

Instructions

Import a template (by ID or URL) or CSV content into an existing project, like the app's "Import from CSV", adding its tasks, sections and comments to whatever is already there. To start a new project from a template, use add-projects with templateId instead. This writes immediately and cannot be undone, so only run it against a project the user named.

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": "import-into-project"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoLocale for a template's content. Defaults to "en".
projectIdYesThe ID of the existing project to import into.
templateIdNoThe template to import — either a gallery slug ("product-launch"), a personal template ID ("UT_28Ex..."), or a full Todoist template URL, which is reduced to the ID automatically. Gallery templates work for anyone; personal templates only for the account that owns them. Find one with find-templates. Not with `csvFileContent`.
csvFileContentNoCSV content to import, e.g. from export-project or a file the user shared. Not with `templateId`.

Output Schema

NameRequiredDescriptionDefault
tasksYesTasks created by the import.
commentsYesComments created by the import.
sectionsYesSections created by the import.
totalCountYesThe total number of objects created by the import.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv18.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: states the write is immediate and irreversible, and clarifies the import is additive ('adding its tasks, sections and comments to whatever is already there'), which is exactly what the agent needs to judge side effects despite destructiveHint=false. It also surfaces the gallery-vs-personal template ownership constraint, a real authorization nuance.

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?

Three sentences, each doing distinct work: what it does, which sibling handles the other case, and the safety constraint last. The operation is front-loaded and there is no filler or repetition.

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 four-parameter mutation tool with full schema coverage, an output schema, and annotations covering the safety profile, this is complete: side effects, irreversibility, additivity, the alternative tool, and the user-consent precondition are all present. Nothing an agent needs to invoke it correctly is missing.

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% and the schema already spells out the templateId/csvFileContent mutual exclusivity, the slug/ID/URL forms, locale defaulting, and the find-templates pointer. The description only restates the either/or at a high level ('by ID or URL or CSV content') and adds no syntax or format detail the schema lacks, so the baseline 3 applies.

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?

Names a specific verb (import) with two concrete resource types (a template by ID/URL, or CSV content) and the target (an existing project). It also explicitly distinguishes itself from add-projects, so an agent can route between 'import into existing' and 'create new' without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit alternative for the adjacent case ('To start a new project from a template, use add-projects with templateId instead') and a hard precondition ('only run it against a project the user named'). Both the when-to-use and when-not-to-use are stated rather than inferred.

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