Skip to main content
Glama

task_complete

Mark a claimed task as done and attach a result note explaining what happened; only the agent who claimed it can complete it.

Instructions

Mark a task you claimed as done and leave a result note saying what happened. Only the agent who claimed the task can complete it; anyone else gets an answer naming the claim owner.

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_id": "<task_id>",
      "author": "<author>",
      "result_note": "<result_note>"
    },
    "name": "task_complete"
  }
}

Input Schema

NameRequiredDescriptionDefault
authorYes
task_idYes
result_noteYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does add real value: it discloses the authorization rule (only the claimer may complete) and the failure behavior (the error names the claim owner). It omits state-transition details such as whether completion is reversible, what happens to the task record afterward, and whether result_note is mandatory.

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 action, then the required note, then the authorization rule. Every clause earns its place and nothing is repeated.

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?

No annotations and no output schema, so the description is the only source of behavioral detail, and it covers authorization and error semantics reasonably. It stops short of describing parameter formats or the shape of a successful response, leaving some gaps for a mutation tool.

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 coverage is 0% for all three required parameters, so the description must compensate. It clarifies that result_note is a free-text account of what happened and that the task must be one the agent claimed (implying task_id and the author identity), but gives no format guidance for task_id or author.

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: marking a claimed task as done, with an accompanying result note. It implicitly separates itself from task_claim by requiring that the task already be claimed, though it never names a sibling tool explicitly.

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?

The precondition 'a task you claimed' implies when the tool applies, and the ownership rule rules out completing others' tasks. There is no explicit when-not guidance or routing to alternatives such as task_claim for unclaimed work, so usage must be inferred.

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