Skip to main content
Glama

complete_task

Mark matching tasks as @done or remove @done to uncomplete them in TaskPaper files, using a text substring to find the target task.

Instructions

Mark a task as @done (or remove @done to uncomplete). Matches by text substring.

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

Input Schema

NameRequiredDescriptionDefault
fileNo
textYesText substring to match the task
uncompleteNoRemove @done instead of adding it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the matching strategy ('text substring'), but says nothing about what happens when the substring matches zero tasks or several tasks, whether the operation is idempotent, or whether the file is written to disk — all critical behaviors for a mutation tool.

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 short sentences, front-loaded with the action and followed by the matching rule. No waste, though the parenthetical '(or remove @done to uncomplete)' is slightly awkward and duplicates what the 'uncomplete' parameter already conveys.

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?

A mutation tool with no annotations, no output schema, and one of three parameters undocumented. The definition omits the ambiguity resolution (multiple/zero matches), the role of 'file', and any hint of the returned result, which is too much missing for a tool that edits stored data.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, below the point where the schema alone suffices. The description reinforces 'text substring' but never mentions the 'file' parameter, which has no schema description either, leaving a required-in-practice scoping parameter completely unexplained.

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+resource: mark a task as @done, plus the inverse (remove @done). The agent knows exactly what the tool changes. It stops short of naming any sibling, so differentiation from tools like add_task or move_task is left to inference.

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?

There is no explicit when-to-use or when-not-to-use statement and no named alternative. The '@done / uncomplete' phrasing implies the condition for the uncomplete variant, but acting on the right task versus listing or modifying it is not guided at all.

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