Skip to main content
Glama

task_find_by_name

Find tasks in OmniFocus by matching their name using exact, prefix, or substring search. Supports case sensitivity and result limits.

Instructions

Find tasks in OmniFocus by name. Returns ALL matching tasks (names are not unique in OmniFocus). Names collide in OmniFocus; prefer task_get with an ID when you have one. Use search_query instead when you need to search task notes as well, or want full-text content search. Zero matches returns an empty array — not an error. Returns tasks[]; safe to call repeatedly; no side effects. Example: task_find_by_name({ name: "Buy milk" }) Example: task_find_by_name({ name: "report", matchMode: "contains" })

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo'exact' = full task name must match (default); 'prefix' = name must start with query; 'contains' = query appears anywhere in name.
limitNoMaximum number of results to return (1..500). Default 50.
queryYesName to search for. Behaviour depends on mode: exact = full name match; prefix = name starts with this string; contains = substring match anywhere in name.
caseSensitiveNotrue = match is case-sensitive; false = case-insensitive (default false).
Behavior5/5

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

Despite no annotations, the description discloses that the tool returns ALL matching tasks (non-unique names), is safe to call repeatedly, has no side effects, and returns an empty array for zero matches. This fully compensates for missing annotations.

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 informative but slightly verbose. It front-loads the main purpose and includes examples, but could be tightened slightly. Every sentence contributes useful information.

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

Completeness4/5

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

Without an output schema, the description explains return type (tasks[]) and empty array behavior. It covers side effects and safety. Missing details on pagination or rate limits, but acceptable given the tool's simplicity.

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 baseline is 3. The description adds two examples and explains the matchMode options (though uses 'matchMode' instead of schema's 'mode', causing minor inconsistency). It does not describe other parameters (limit, caseSensitive) beyond schema, so it adds limited value.

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 finds tasks by name in OmniFocus, distinguishing it from siblings like task_get (by ID) and search_query (full-text search). The verb 'find' combined with the resource 'tasks by name' is specific and unambiguous.

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?

The description provides explicit guidance on when to use this tool vs alternatives: prefer task_get with an ID, and use search_query for full-text content. Also clarifies behavior (empty array on no matches, no side effects), which helps the agent decide correctly.

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