Skip to main content
Glama

complete_task

Mark a task as completed using its ID or a name fragment, so OmniFocus tasks can be closed quickly from an AI assistant.

Instructions

Mark a task as completed by ID or fuzzy name.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "complete_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesTask ID or name fragment

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses that this is a mutation and that input can be fuzzy, but it does not explain permissions, idempotency, ambiguity handling, or what happens if the query matches multiple tasks.

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?

The description is a single front-loaded sentence with zero wasted wording. It states the action and input mechanism efficiently.

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 mutation tool with no annotations and no output schema, the description is too sparse. It does not address fuzzy-match disambiguation, failure behavior, or result expectations, leaving important operational details unspecified.

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 parameter is already documented as 'Task ID or name fragment.' The description adds the notion of fuzzy name matching, which slightly clarifies lookup behavior, but does not explain matching rules or ambiguity resolution.

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 states a specific verb and resource: 'Mark a task as completed.' This clearly distinguishes it from the sibling complete_project by resource type. It does not explicitly contrast with update_task, but the action is still clear.

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 describes the action but gives no guidance on when to use this tool instead of alternatives such as update_task or complete_project. It also does not state prerequisites, expected task state, or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.