Skip to main content
Glama
Todoist AI MCP Server
by todoist

delete-object

DestructiveIdempotent

Deletes Todoist projects, sections, tasks, comments, labels, filters, folders, and reminders by ID, so users can remove unwanted items or clean up their workspace.

Instructions

Delete a project, section, task, comment, label, filter, folder, reminder, or location_reminder by its ID. Projects can be deleted whether active or archived (find archived ones via find-projects with archivedStatus); note a workspace project must be archived before it can be deleted, while personal projects can be deleted regardless. Deleting a folder keeps its projects, moving them to the top level of the workspace.

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": {
      "type": "<type>",
      "id": "<id>"
    },
    "name": "delete-object"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe ID of the entity to delete.
typeYesThe type of entity to delete.

Output Schema

NameRequiredDescriptionDefault
successYesWhether the deletion was successful.
deletedEntityYesInformation about the deleted entity.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv17.2.0
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "project",
      -  "section",
      -  "task",
      -  "comment",
      -  "label",
      -  "filter",
      -  "reminder",
      -  "location_reminder"
      -]New value: +[
      +  "project",
      +  "section",
      +  "task",
      +  "comment",
      +  "label",
      +  "filter",
      +  "folder",
      +  "reminder",
      +  "location_reminder"
      +]
    • changedOutput schema / properties / deletedEntity / properties / type / enum
      Previous value: -[
      -  "project",
      -  "section",
      -  "task",
      -  "comment",
      -  "label",
      -  "filter",
      -  "reminder",
      -  "location_reminder"
      -]New value: +[
      +  "project",
      +  "section",
      +  "task",
      +  "comment",
      +  "label",
      +  "filter",
      +  "folder",
      +  "reminder",
      +  "location_reminder"
      +]
  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. Changed2 schema fields changedv12.0.0
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "project",
      -  "section",
      -  "task",
      -  "comment",
      -  "label",
      -  "filter",
      -  "goal",
      -  "reminder",
      -  "location_reminder"
      -]New value: +[
      +  "project",
      +  "section",
      +  "task",
      +  "comment",
      +  "label",
      +  "filter",
      +  "reminder",
      +  "location_reminder"
      +]
    • changedOutput schema / properties / deletedEntity / properties / type / enum
      Previous value: -[
      -  "project",
      -  "section",
      -  "task",
      -  "comment",
      -  "label",
      -  "filter",
      -  "goal",
      -  "reminder",
      -  "location_reminder"
      -]New value: +[
      +  "project",
      +  "section",
      +  "task",
      +  "comment",
      +  "label",
      +  "filter",
      +  "reminder",
      +  "location_reminder"
      +]
  4. First observedv10.4.2

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description's job is added context — and it delivers: the workspace-vs-personal archived prerequisite and the folder-deletion side effect (projects survive and move to top level). It stops short of stating whether deletion is permanent/unrecoverable or what happens to child tasks under a deleted project.

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 sentences, front-loaded with the verb and covered entity types, then constraints and side effects. The entity enumeration partly duplicates the enum but earns its place as a quick scan; no filler sentences.

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?

For a two-parameter delete tool with an output schema and full annotation coverage, this is close to complete: it covers accepted types, the archived-project prerequisite, and folder behavior. The main remaining gap is not spelling out cascade effects (e.g., tasks under a deleted project) or permanence of deletion.

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 both parameters documented and the type enum fully enumerated, so the schema already carries the semantics. The description restates the same entity list without adding ID format, source of the ID, or type-specific caveats beyond the archived-project rule.

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?

The description leads with a specific verb ("Delete") and enumerates the exact resource types covered (project, section, task, comment, label, filter, folder, reminder, location_reminder), keyed by ID. This clearly separates it from the add-*, find-*, and fetch-object siblings without needing their schemas.

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

Usage Guidelines4/5

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

It gives concrete pre-call guidance: use find-projects with archivedStatus to locate archived projects, and archive workspace projects before deleting. It does not, however, state when to prefer this over alternatives like fetch-object or what to do if the ID is unknown, so the routing guidance is clear but not exhaustive.

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