Skip to main content
Glama
Doist
by Doist

delete-object

DestructiveIdempotent

Delete any Todoist entity by its ID. Supports projects, sections, tasks, comments, labels, filters, goals, reminders, and location reminders, including archived projects.

Instructions

Delete a project, section, task, comment, label, filter, goal, 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.

Input Schema

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

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
successYesWhether the deletion was successful.
deletedEntityYesInformation about the deleted entity.
Behavior4/5

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

Annotations already indicate destructive and idempotent. Description adds context on archiving prerequisite for workspace projects, going beyond annotation basics.

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?

Two focused sentences with no wasted words. First sentence states purpose, second sentence provides critical nuance.

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?

With output schema present and 2 simple params, the description covers entity types and project-specific behavior. Could mention irreversibility, but destructiveHint implies it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers 100% of parameters, so baseline is 3. Description adds value by explaining the conditional behavior for the 'type' parameter when set to 'project', aiding correct invocation.

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 clearly states the tool deletes entities by ID, listing all 9 supported types (project, section, task, etc.). It distinguishes itself from sibling tools as the only delete operation.

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?

Provides specific guidance for projects: active/archived, workspace vs personal. Lacks exclusions or alternatives for other entity types, but the nuance for projects is helpful.

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

Install Server

Other Tools

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-ai'

If you have feedback or need assistance with the MCP directory API, please join our Discord server