Skip to main content
Glama

complete_task

Marks a specific open task in an Obsidian note as complete by matching its exact text.

Instructions

Check off a specific open task in a note by matching its text.

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": {
      "path": "<path>",
      "task_text": "<task_text>"
    },
    "name": "complete_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesVault-relative path to the note.
task_textYesExact text of the task to complete (without the checkbox).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.3/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 burden. It does not disclose what happens when no task matches, when multiple tasks share the same text, whether the checkbox is rewritten in place, or whether the change is reversible — all important for a note-mutating operation.

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?

A single front-loaded sentence with the verb first and no filler. Every clause contributes: the operation, the scope restriction ('open'), the location ('in a note'), and the matching method.

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 simple two-parameter mutation with fully documented parameters and no output schema, the description covers the core contract adequately. However, with zero annotation coverage it should say more about matching ambiguity and failure behavior before an agent can call it confidently.

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 description coverage is 100%, with both 'path' (vault-relative note path) and 'task_text' (exact text without the checkbox) documented in the schema itself. The description adds only the notion that matching is by task text within a note, which is essentially restating the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Check off a specific open task in a note') plus the matching mechanism, so an agent knows exactly what operation is performed. It does not distinguish itself from siblings such as extract_tasks or append_to_note, which is the only thing keeping it from a 5.

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?

Usage is only implied: the word 'open' signals that already-completed tasks are out of scope and 'matching its text' hints at how the target is located. There is no explicit when-to-use or when-not-to-use guidance and no alternative tool is named.

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