Skip to main content
Glama

filter_tasks

Filter tasks in OmniFocus by status, dates, projects, tags, search, and more. Customize perspectives, sort results, and apply advanced criteria to manage tasks effectively.

Instructions

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

Input Schema

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

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions 'advanced task filtering' but doesn't describe whether this is a read-only operation, what permissions are needed, how results are returned (format, pagination), or any rate limits. The phrase 'unlimited perspective combinations' suggests flexibility but lacks concrete behavioral details needed for safe invocation.

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, efficient sentence that front-loads the core purpose ('Advanced task filtering') and key capabilities. It avoids unnecessary words while conveying the tool's scope, though it could be slightly more structured by explicitly separating primary from secondary features.

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?

For a complex filtering tool with 31 parameters and no output schema, the description is insufficient. It doesn't explain the return format, how multiple filters combine (AND/OR logic), default behaviors, or error conditions. Without annotations and with rich parameter schema, the description should provide more operational context to complement the technical specifications.

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?

The schema description coverage is 100%, so all 31 parameters are well-documented in the schema itself. The description adds marginal value by listing some filter categories (status, dates, projects, tags, search) but doesn't provide additional semantic context beyond what's already in the parameter descriptions. This meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose as 'Advanced task filtering' with 'unlimited perspective combinations', specifying the resource (tasks) and key filtering dimensions (status, dates, projects, tags, search). It distinguishes from simpler sibling tools like get_flagged_tasks or get_inbox_tasks by emphasizing comprehensive filtering capabilities, though it doesn't explicitly name alternatives.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives like get_tasks_by_tag or get_custom_perspective_tasks. It mentions 'unlimited perspective combinations' which implies broad applicability but gives no explicit when/when-not instructions or prerequisites for usage.

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

Related 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/jqlts1/omnifocus-mcp-enhanced'

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