Skip to main content
Glama

get_tasks

Retrieve tasks from OmniFocus with flexible filtering options like by ID, project, flagged status, due dates, tags, or search terms to manage your workflow.

Instructions

Get tasks from OmniFocus with optional filtering (Enhanced - Phase 3.1).

NEW (Phase 3.1): Added task_id, parent_task_id, include_full_notes parameters to consolidate get_task(), get_subtasks(), and get_note() functionality.

Args: task_id: NEW - Filter to specific task by ID (consolidates get_task()) parent_task_id: NEW - Filter to subtasks of parent (consolidates get_subtasks()) include_full_notes: NEW - Return full note content (consolidates get_note()) project_id: Optional project ID to filter tasks (ignored if inbox_only=True) flagged_only: If True, only return flagged tasks include_completed: If True, include completed tasks (default: False) available_only: If True, only return available tasks (not blocked or deferred) overdue: If True, only return overdue tasks dropped_only: If True, only return dropped tasks blocked_only: If True, only return blocked tasks next_only: If True, only return next tasks tag_filter: List of tag names to filter by (task must have all tags) query: Optional search term to filter by name or note (case-insensitive) inbox_only: If True, only return inbox tasks

Returns: Each task includes: id, name, projectName, completed, dropped, blocked, available, next, flagged, dueDate, deferDate, estimatedMinutes, tags, note (truncated unless include_full_notes=True), parentTaskId, subtaskCount, sequential.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idNo
parent_task_idNo
include_full_notesNo
project_idNo
flagged_onlyNo
include_completedNo
available_onlyNo
overdueNo
dropped_onlyNo
blocked_onlyNo
next_onlyNo
tag_filterNo
queryNo
inbox_onlyNo

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/s-morgan-jeffries/omnifocus-mcp'

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