Skip to main content
Glama

Update task

update_task

Mark a task done or todo, toggle its state, or set a custom status character by task reference or file path plus line.

Instructions

Mark a task done or todo, toggle it, or set a custom status character. Target by ref (path:line, from list_tasks) or by file or path plus line.

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
refNoTask reference "path:line" from list_tasks.
fileNoNote name, resolved like a wikilink. No folder path, no extension.
lineNo1-based line number of the task.
pathNoExact path from the vault root, e.g. "Projects/Roadmap.md".
actionNoState change to apply.
statusNoCustom status character to set, e.g. "/".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a mutating tool. It does not say what happens if the target line is not a task, whether line numbers become stale after edits, what occurs with conflicting ref/path inputs, or what the response contains.

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?

Two compact sentences, front-loaded with the operations and followed by targeting rules. No filler and no restatement of the tool name.

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?

With six optional parameters, no annotations, and no output schema, the definition covers the two main axes (what change, how to target). It leaves gaps on failure modes, conflicting-parameter behavior, and the result of the call, which matter for a write tool.

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%, so baseline is 3, and the description adds genuine meaning: it links ref to list_tasks and frames ref versus file/path+line as alternative targeting strategies. It also implies action and status are alternative state changes, which the flat schema does not express.

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?

States specific verbs and the exact resource affected: mark a task done/todo, toggle it, or set a custom status character. It is clearly distinguishable from read-side siblings such as list_tasks, which is even named as the source of the ref value.

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?

Gives practical targeting guidance (use ref from list_tasks, or file/path plus line), which is real usage help. However, it never says when this tool is preferable with one targeting style over the other, nor does it state exclusions or prerequisites for mutating a note.

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