Skip to main content
Glama
estrenuo

OmniFocus MCP Server

by estrenuo

Delete Task

omnifocus_delete_task
Destructive

Delete a task permanently from OmniFocus by providing its ID or name. Use this to remove tasks that are no longer needed.

Instructions

Permanently delete a task from OmniFocus. This cannot be undone via MCP.

Use either the task ID from list/search results, or the task name.

Args:

  • taskId (string, optional): The task's ID. Takes priority if both taskId and taskName provided.

  • taskName (string, optional): The task's name to search for. At least one of taskId or taskName is required.

Returns: Confirmation message with the deleted task's name

Examples:

  • Delete by ID: { taskId: "abc123" }

  • Delete by name: { taskName: "Old draft" }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskIdNoThe task ID to delete. Takes priority if both taskId and taskName are provided.
taskNameNoThe task name to search for. At least one of taskId or taskName is required.
Behavior5/5

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

The description adds significant context beyond the destructiveHint annotation by stating it's permanent and cannot be undone via MCP. It also explains parameter priority, aligning with and enhancing annotation info.

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?

The description is front-loaded with the core action and permanence, followed by structured parameter details, return info, and examples. Every sentence adds value without redundancy.

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 delete tool with two parameters and no output schema, the description fully explains usage, parameter selection, and return value. No critical information is missing given the tool's simplicity.

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?

The input schema already covers both parameters with descriptions (100% coverage). The description adds value by specifying priority and providing examples, making it clearer than schema alone.

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 it permanently deletes a task from OmniFocus and that it cannot be undone via MCP. This distinguishes it from sibling tools like complete_task or update_task, which are non-destructive.

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 clear guidance on using taskId or taskName, with priority for taskId. However, it does not explicitly state when not to use it, such as when only completion is needed, though sibling tools imply alternatives.

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/estrenuo/omnifocus-mcp-server'

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