Skip to main content
Glama
phd-peter
by phd-peter

filter_tasks

Filter OmniFocus tasks by status, dates, projects, tags, search text, and more with unlimited perspective combinations.

Instructions

Advanced task filtering with unlimited perspective combinations - status, dates, projects, tags, search, and more

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskStatusNoFilter by task status. Can specify multiple statuses
perspectiveNoLimit search to specific perspective: inbox, flagged, all tasks
projectFilterNoFilter by project name (partial match)
tagFilterNoFilter by tag name(s). Can be single tag or array of tags
exactTagMatchNoSet to true for exact tag name match, false for partial (default: false)
dueBeforeNoShow tasks due before this date (ISO format: YYYY-MM-DD)
dueAfterNoShow tasks due after this date (ISO format: YYYY-MM-DD)
dueTodayNoShow tasks due today
dueThisWeekNoShow tasks due this week
dueThisMonthNoShow tasks due this month
overdueNoShow overdue tasks only
deferBeforeNoShow tasks with defer date before this date (ISO format: YYYY-MM-DD)
deferAfterNoShow tasks with defer date after this date (ISO format: YYYY-MM-DD)
deferTodayNoShow tasks deferred to today
deferThisWeekNoShow tasks deferred to this week
deferAvailableNoShow tasks whose defer date has passed (now available)
plannedBeforeNoShow tasks planned before this date (ISO format: YYYY-MM-DD)
plannedAfterNoShow tasks planned after this date (ISO format: YYYY-MM-DD)
plannedTodayNoShow tasks planned for today
plannedThisWeekNoShow tasks planned for this week
plannedThisMonthNoShow tasks planned for this month
completedBeforeNoShow tasks completed before this date (ISO format: YYYY-MM-DD)
completedAfterNoShow tasks completed after this date (ISO format: YYYY-MM-DD)
completedTodayNoShow tasks completed today
completedThisWeekNoShow tasks completed this week
completedThisMonthNoShow tasks completed this month
flaggedNoFilter by flagged status
searchTextNoSearch in task names and notes
hasEstimateNoFilter tasks that have time estimates
estimateMinNoMinimum estimated minutes
estimateMaxNoMaximum estimated minutes
hasNoteNoFilter tasks that have notes
inInboxNoFilter tasks in inbox
limitNoMaximum number of tasks to return (default: 100)
sortByNoSort results by field
sortOrderNoSort order (default: asc)
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. However, it only mentions filtering capabilities and omits details about performance implications, sorting behavior, or that the tool returns tasks. This is insufficient for a complex tool.

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?

The description is a single sentence, which is concise and to the point. However, it could be structured to list key features more clearly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 36 parameters and no output schema, the description is too brief. It fails to explain what the tool returns (list of tasks), how pagination works via the limit parameter, or any side effects. The tool's complexity demands more context.

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 coverage is 100%, so the schema already documents all parameters. The description provides no additional meaning beyond the schema, meeting the baseline but not exceeding it.

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 is for advanced task filtering with unlimited perspective combinations, listing specific filters like status, dates, projects, tags, and search. This distinctly differentiates it from simpler sibling tools like get_inbox_tasks or get_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 use when complex filtering is needed, but does not explicitly state when not to use it or compare with alternatives. Sibling tools exist for specific perspectives, but no guidance is provided on selection criteria.

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/phd-peter/codex-omnifocus-mcp'

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