Skip to main content
Glama

reopen_task

Idempotent

Reopen a task that was marked complete but is not actually done. The task returns to 'todo'; its handoff note is kept and overwritten if the task is completed again. Returns the node's new status and the recorded reason.

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": {
      "project_id": "<project_id>",
      "node_id": "<node_id>",
      "reason": "<reason>"
    },
    "name": "reopen_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy this task is not actually complete. Be specific — this is a correction to the project record.
node_idYesThe node ID to reopen.
project_idYesThe project ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this is a mutation (readOnlyHint=false) that is idempotent and non-destructive; the description goes beyond that by disclosing the concrete state transition ('returns to todo'), the handoff-note lifecycle (kept, overwritten on re-completion), and the return payload. It doesn't cover failure modes, such as reopening a task that was never completed or that has downstream dependents.

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?

Three short sentences, front-loaded with the precondition, then the state effect, then the return values. Nothing is repeated from the name or wasted on filler.

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

Completeness4/5

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

With no output schema, the description usefully states what comes back ('the node's new status and the recorded reason'), and it covers the state transition and handoff-note side effect for a 3-parameter mutation. The only real gap is error behavior for invalid preconditions.

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%, so node_id and project_id are fully documented in the schema and the reason field carries a detailed maxLength-1000 hint. The description only obliquely echoes the reason parameter ('the recorded reason') and adds no syntax or format meaning beyond what the schema already supplies.

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?

Names a specific verb and resource ('Reopen a task') and pins the precondition ('marked complete but is not actually done'), which implicitly distinguishes it from mark_task_complete in the sibling set. It stops short of naming the counterpart tool, so an agent must infer the routing rather than read it.

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

Usage Guidelines4/5

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

The opening clause gives a clear condition for use: the task was marked complete but isn't actually done. There is no explicit when-not guidance (e.g., what happens if the task is already in 'todo', or whether reopening is preferable to update_node), so the exclusion half is left unstated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.