Skip to main content
Glama

update_task

Change an Obsidian task by its path:line reference: complete, reopen, toggle, cancel, set a status character, or edit text, due and scheduled dates. Completing adds a ✅ date and spawns the next recurring occurrence.

Instructions

Change a task by ref ("path:line" from list_tasks): complete/reopen/toggle/cancel, set any status character, edit text or dates. Completing adds a ✅ date (and creates the next occurrence for 🔁 recurring tasks) like the Tasks plugin.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
dueNoNew due date, or "none" to clear
refNo
fileNo
lineNo
textNoNew task text (for edit)
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
actionNo
priorityNo
done_dateNoAdd ✅ date on completion (default true)
scheduledNo
expect_textNoSafety: fail if the line does not contain this text
status_charNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only say it's a non-read-only, non-destructive, non-idempotent mutation. The description goes beyond that with genuinely useful side-effect disclosure: completion stamps a ✅ date (matching the done_date parameter) and recurring 🔁 tasks spawn a next occurrence, mimicking Tasks plugin semantics. It stops short of covering the expect_text safety behavior and failure modes, and never warns that toggling makes repeat calls non-idempotent.

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?

Two dense sentences with the load-bearing information (what it changes, how to identify the target, the completion side effect) front-loaded; nothing is redundant. The slash-separated operation lists are compact but slightly run-on, bordering on a spec dump.

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

Completeness3/5

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

For a 12-parameter mutation with no output schema and only partial schema coverage, the description covers the core workflow (address, act, side effects) but omits what a caller needs on the edges: the expect_text safety contract, how file/line relate to ref, and what a failure looks like. Adequate, not complete.

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?

With 12 parameters and only 42% schema description coverage, the description must compensate, and it partially does: ref format ("path:line"), the action vocabulary, arbitrary status characters, text editing, and dates are all explained. But priority, expect_text, done_date, vault, and the file/line alternative addressing path are left entirely to the schema, leaving notable gaps.

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 gives a specific verb (Change) plus resource (a task) and enumerates the supported operations (complete/reopen/toggle/cancel, set status character, edit text or dates). It also states the required addressing scheme (ref = "path:line") and points at the sibling that produces it, so the agent can distinguish this from add_task/delete_task without opening a schema.

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

Usage Guidelines3/5

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

It establishes the prerequisite for the key parameter by naming list_tasks as the source of the ref, which is real usage guidance. However, it never says when to prefer this tool over delete_task, add_task, or a batch operation, and gives no exclusions or preconditions (e.g., what happens if the ref no longer resolves).

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

Deploy Server

Other Tools