Skip to main content
Glama

Propose task completion or cancellation

task_resolve
Idempotent

Propose marking an open task done or not-doing for human confirmation, with verification proof. Use it to close out completed or moot work without deleting anything.

Instructions

Mark an open task done or not-doing for human confirmation (never closes or deletes). done requires all steps ticked/vouched and all agent subtasks resolved. Include verification proof in body; add branch/pr when shipping code. Call once.

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": {
      "task": "<task>",
      "outcome": "<outcome>",
      "body": "<body>"
    },
    "name": "task_resolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
prNoFor `done`: pull request number or URL (<=200 chars)
bodyYesVerification proof (commands, commits, results) or reason not doing
taskYesOpen task ID
branchNoFor `done`: git branch name (<=200 chars)
outcomeYesProposed resolution: completed or moot/won't-do

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, idempotent behavior; the description adds the key trait that this is only a proposal awaiting human confirmation and never closes or deletes the task. It also discloses the gating conditions for `done` and the 'Call once' retry expectation. It doesn't describe what happens when the proposal is rejected or when preconditions are unmet.

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 scope constraint and the never-closes caveat. Every clause carries operational information: outcome set, preconditions, payload content, optional fields, and call frequency.

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 still covers the side effect (a proposal for human confirmation), the preconditions, and the required proof payload, which is enough to invoke it correctly. The remaining gap is the response/outcome surface, such as what a pending or rejected proposal looks like.

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 all five parameters are already documented with meanings and length limits. The description mostly restates that `body` carries proof and that `branch`/`pr` accompany code, though it does add the useful qualifier that those fields apply specifically 'when shipping code'. That is marginal added meaning over the schema, so the baseline of 3 applies.

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 and resource ('Mark an open task done or not-doing') and immediately scopes the effect ('for human confirmation (never closes or deletes)'). It states the allowed outcomes and, together with the conditions attached to `done`, makes this clearly distinct from a plain task mutation such as task_update.

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?

It provides concrete preconditions for calling ('done requires all steps ticked/vouched and all agent subtasks resolved'), guidance on payload ('Include verification proof in body', 'add branch/pr when shipping code'), and a call-once instruction. What's absent is an explicit routing statement naming the sibling to use instead when those preconditions fail, e.g. task_edit_steps or task_note.

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