Skip to main content
Glama

task_get

Retrieve an OmniFocus task by its persistent ID with full details, including optional subtask bodies.

Instructions

Fetch a single OmniFocus task by persistent ID. Use when you have a known task ID and need its full detail. Do NOT use for multiple IDs — use task_get_many instead. Returns the Task object plus subtaskIds[] and subtaskCount (when includeSubtasks omitted or false). Pass includeSubtasks: true to get full subtask bodies; use task_get_many to fetch specific subtasks by ID. Read-only; safe to retry. Example: task_get({ id: "abc123" })

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesPersistent ID of the task to fetch. Get from task_list or task_get_many.
fieldsNoRestrict the returned task (and each subtask) to this list of top-level fields (id is always returned). Omit for the full task shape. Empty array returns just id. Unknown names surface in meta.warnings.WARN_UNKNOWN_FIELDS.
verboseNoWhen true, return the full unelided task shape (every field present, even at defaults). Default: false — fields equal to their documented default are omitted. See docs/token-cost.md for the defaults table.
includeLinksNoWhen true, the task (and each subtask, if requested) carries a `_links` HATEOAS block (self, project, parent, tags). Default false — the block is omitted to save payload size. Use `id`, `projectId`, `parentId`, and `tagIds` directly instead.
includeSubtasksNoInclude full subtask bodies in the response. Default false — returns subtaskIds[] and subtaskCount instead. Pass true only when you need subtask detail; otherwise use task_get_many with subtaskIds.
notePreviewCharsNoMaximum characters of the task's note (and each subtask's note) to return. Default 200. When a note exceeds this length, the response replaces `note` with `notePreview` (the truncated text), `noteTruncated: true`, and `noteLength` (full UTF-8 byte length) — fetch the full text with note_get. Pass -1 to disable truncation and return full notes inline.
Behavior5/5

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

Discloses read-only nature, safe to retry, and explains behavior of includeSubtasks, notePreviewChars, verbose, fields, and includeLinks. Covers return value structure and truncation details. No annotations provided, so description fully handles transparency.

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?

Concise, front-loaded with purpose and key guidance. 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?

Complete for a single-task fetch: covers all parameters, return values, and edge cases like note truncation. No output schema, but description adequately explains expected response.

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%, baseline is 3. Description adds usage context beyond schema, e.g., how includeSubtasks relates to task_get_many, and note truncation behavior. Slightly exceeds baseline.

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 the tool fetches a single OmniFocus task by persistent ID, with a specific verb and resource. It distinguishes from sibling tools like task_get_many by explicitly stating not to use for multiple IDs.

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

Usage Guidelines5/5

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

Provides clear guidance on when to use (known task ID, need full detail), when not to use (multiple IDs, use task_get_many instead), and when to use includeSubtasks (only if subtask detail needed, otherwise use task_get_many).

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

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