Skip to main content
Glama
Doist
by Doist

import-project-template

Import a Todoist template into an existing project to add its tasks, sections, and comments. Provide a template ID/URL or CSV content from export-project-template.

Instructions

Import a template into an existing project, adding its tasks, sections and comments to whatever is already there. Source it by template ID/URL or by passing CSV content from export-project-template. To start a new project from a template, create the project with add-projects first, then import into it. This writes immediately and cannot be undone, so only run it against a project the user named.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localeNoLocale for the imported content when using `templateId`. Defaults to "en".
projectIdYesThe ID of the existing project to import the template 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. There is no way to list templates through this server, so only use the ID or URL the user supplied. Provide either this or `csvFileContent`, not both.
csvFileContentNoRaw CSV template content, as produced by export-project-template. Provide either this or `templateId`, not both.

Output Schema

TableJSON 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. Dates show when Glama detected each change.

  1. 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"
  2. Changed1 schema field changedv12.6.0
    • addedOutput schema / properties / comments / items / properties / notifiedUserIds
      Added value: +{
      +  "description": "Users notified about this comment. Absent when nobody was notified.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Changed41 schema fields changedv12.5.3
    • removedOutput schema / properties / comments / items / properties / content / description
      Removed value: -"The content of the comment."
    • removedOutput schema / properties / comments / items / properties / fileAttachment / description
      Removed value: -"File attachment information, if any."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / fileDuration / description
      Previous value: -"The duration in milliseconds (for audio/video files)."New value: +"Milliseconds, for audio/video."
    • removedOutput schema / properties / comments / items / properties / fileAttachment / properties / fileName / description
      Removed value: -"The name of the file."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / fileSize / description
      Previous value: -"The size of the file in bytes."New value: +"Bytes."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / fileType / description
      Previous value: -"The MIME type of the file."New value: +"MIME type."
    • removedOutput schema / properties / comments / items / properties / fileAttachment / properties / fileUrl / description
      Removed value: -"The URL to access the file."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / image / description
      Previous value: -"The image URL for image resource types."New value: +"For image resource types."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / imageHeight / description
      Previous value: -"The height of the image in pixels."New value: +"Pixels."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / imageWidth / description
      Previous value: -"The width of the image in pixels."New value: +"Pixels."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / resourceType / description
      Previous value: -"The type of resource (file, url, image, etc)."New value: +"file, url, image, etc."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / title / description
      Previous value: -"The title for link/url resource types."New value: +"For link/url resource types."
    • removedOutput schema / properties / comments / items / properties / fileAttachment / properties / uploadState / description
      Removed value: -"The upload state of the file."
    • changedOutput schema / properties / comments / items / properties / fileAttachment / properties / url / description
      Previous value: -"The URL for link/url resource types."New value: +"For link/url resource types."
    • removedOutput schema / properties / comments / items / properties / id / description
      Removed value: -"The unique ID of the comment."
    • changedOutput schema / properties / comments / items / properties / postedAt / description
      Previous value: -"When the comment was posted (ISO 8601 format)."New value: +"ISO 8601."
    • removedOutput schema / properties / comments / items / properties / postedUid / description
      Removed value: -"The UID of the user who posted this comment."
    • removedOutput schema / properties / comments / items / properties / projectId / description
      Removed value: -"The ID of the project this comment belongs to."
    • removedOutput schema / properties / comments / items / properties / taskId / description
      Removed value: -"The ID of the task this comment belongs to."
    • 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."
    • changedOutput schema / properties / tasks / items / properties / addedAt / description
      Previous value: -"When the task was created (ISO 8601 format)."New value: +"ISO 8601."
    • removedOutput schema / properties / tasks / items / properties / assignedByUid / description
      Removed value: -"The UID of the user who assigned this task."
    • changedOutput schema / properties / tasks / items / properties / checked / description
      Previous value: -"Whether the task is checked/completed."New value: +"Whether the task is completed."
    • changedOutput schema / properties / tasks / items / properties / completedAt / description
      Previous value: -"When the task was completed (ISO 8601 format)."New value: +"ISO 8601."
    • changedOutput schema / properties / tasks / items / properties / content / description
      Previous value: -"The task title/content."New value: +"Task title."
    • changedOutput schema / properties / tasks / items / properties / deadlineDate / description
      Previous value: -"The deadline date of the task (ISO 8601 format)."New value: +"ISO 8601."
    • removedOutput schema / properties / tasks / items / properties / description / description
      Removed value: -"The task description."
    • changedOutput schema / properties / tasks / items / properties / dueDate / description
      Previous value: -"The due date of the task (ISO 8601 format)."New value: +"ISO 8601."
    • changedOutput schema / properties / tasks / items / properties / duration / description
      Previous value: -"The duration of the task (e.g., \"2h30m\")."New value: +"e.g. \"2h30m\"."
    • removedOutput schema / properties / tasks / items / properties / id / description
      Removed value: -"The unique ID of the task."
    • changedOutput schema / properties / tasks / items / properties / isUncompletable / description
      Previous value: -"Whether the task is uncompletable (organizational header)."New value: +"An organizational header, not a real task."
    • removedOutput schema / properties / tasks / items / properties / labels / description
      Removed value: -"The labels attached to this task."
    • removedOutput schema / properties / tasks / items / properties / parentId / description
      Removed value: -"The ID of the parent task (for subtasks)."
    • changedOutput schema / properties / tasks / items / properties / priority / description
      Previous value: -"The priority level: p1 (highest), p2 (high), p3 (medium), p4 (lowest)."New value: +"p1 is highest, p4 lowest."
    • removedOutput schema / properties / tasks / items / properties / projectId / description
      Removed value: -"The ID of the project this task belongs to."
    • changedOutput schema / properties / tasks / items / properties / recurring / description
      Previous value: -"Whether the task is recurring, or the recurrence string."New value: +"False when not recurring, otherwise the recurrence string."
    • removedOutput schema / properties / tasks / items / properties / responsibleUid / description
      Removed value: -"The UID of the user responsible for this task."
    • removedOutput schema / properties / tasks / items / properties / sectionId / description
      Removed value: -"The ID of the section this task belongs to."
  4. Addedv12.5.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare write semantics (readOnlyHint: false); the description adds critical context beyond that: "This writes immediately and cannot be undone" and the warning to only run against projects the user explicitly named. The irreversibility warning and the distinction between gallery vs. personal template permissions in the schema enrich the annotation-only picture. No contradiction with annotations.

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?

Four sentences, zero filler. The purpose is front-loaded, followed by sourcing options, workflow sequencing, and a critical irreversibility warning — every sentence earns its place.

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 4-parameter import tool with 100% schema coverage and an output schema present, the description covers all key operational concerns: merge behavior, input sourcing, project-creation prerequisite, and irreversibility risk. Nothing material is left unaddressed for an agent to execute correctly.

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 rich per-parameter docs carry the burden. The description adds only a high-level summary ("by template ID/URL or by passing CSV content") that maps to templateId vs csvFileContent, reinforcing the exclusive-or relationship already documented in the schema. This is a solid baseline-3 case — no new syntactic meaning added beyond the schema.

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?

Starts with the specific verb+resource+scope "Import a template into an existing project, adding its tasks, sections and comments to whatever is already there," making the merge semantics explicit. It distinguishes itself from sibling `export-project-template` and `add-projects` by clarifying this is for existing projects only.

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 explicit workflow guidance: "To start a new project from a template, create the project with add-projects first, then import into it" names the exact alternative tool and sequencing. The safety rule "only run it against a project the user named" provides a clear when-to-run criterion. Only minor gap is not naming a 'when not to use' beyond the new-project case.

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

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