Skip to main content
Glama
estrenuo

OmniFocus MCP Server

by estrenuo

Get Flagged Tasks

omnifocus_get_flagged_tasks
Read-onlyIdempotent

Retrieve flagged tasks from OmniFocus, optionally including completed items, limiting results, and filtering by tags with match mode.

Instructions

Get all flagged tasks in OmniFocus.

Args:

  • includeCompleted (boolean): Include completed tasks (default: false)

  • limit (number): Max tasks, 1-500 (default: 50)

  • tags (array, optional): Filter to tasks matching these tag names (max 20)

  • tagMatchMode (string): How to match tags - 'all', 'any', or 'none' (default 'all'). Only applied when tags is provided.

Returns: Array of flagged tasks

Examples:

  • Active flagged: {}

  • All flagged: { includeCompleted: true }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoFilter to tasks matching these tag names (combined per tagMatchMode)
limitNoMaximum tasks to return
tagMatchModeNoHow to match tags: 'all' = task has every listed tag, 'any' = at least one, 'none' = none of them. Only applied when tags is provided.all
includeCompletedNoInclude completed tasks
Behavior5/5

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

The description thoroughly explains behavior beyond annotations: default values, constraints (limit 1-500, tags max 20), conditional logic (tagMatchMode only applied when tags provided), and examples. Annotations confirm read-only, idempotent, non-destructive, so no contradictions.

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 very concise and well-structured: clear purpose, then Args, Returns, Examples. No fluff, every sentence adds value. Front-loaded with the main goal.

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?

Given low complexity, full parameter documentation, and no output schema, the description is complete. It covers what the tool returns, all parameters with defaults, and example invocations. No missing information for an agent to use it correctly.

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 coverage is 100% with descriptions, but the tool description adds value by organizing parameters in a clear list and providing examples that show typical usage patterns (e.g., empty object for active tasks, includeCompleted: true). This enhances understanding beyond 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 'Get all flagged tasks in OmniFocus' with a specific verb and resource. It distinguishes itself from sibling tools like omnifocus_get_due_tasks by focusing solely on flagged tasks.

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

Usage Guidelines3/5

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

The description implies usage when flagged tasks are needed but does not provide explicit guidance on when to use this tool over alternatives. No when-not-to-use or comparison with sibling tools.

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