Skip to main content
Glama

Control Tracked Task

task_control

Pause, resume, cancel, complete, or fail a tracked automation task by task ID, with an optional reason for status changes.

Instructions

Pause, resume, cancel, complete, or fail a tracked automation task.

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>",
      "action": "<action>"
    },
    "name": "task_control"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesControl action to apply to the task
reasonNoOptional reason or note
task_idYesTask ID to control

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.1

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the description's burden is to add context about state transitions. It adds none: it does not say that cancel and fail are terminal and irreversible, what state the task lands in after each action, or whether a reason is required for fail/cancel. The framing of cancel and fail as ordinary actions sits awkwardly with destructiveHint=false without explaining how cancellation is recoverable.

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?

A single front-loaded sentence with no filler, which is appropriate for a control tool. The terseness tips into under-specification rather than conciseness, but nothing in the sentence is wasted.

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?

The tool is simple (3 params, no nesting) and has no output schema, so the description should explain the resulting task state or returned status after an action, and it does not. Combined with the failure to position it against task_resume and task_status, an agent can call it but cannot predict consequences.

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% and the action enum is self-documenting, so the baseline is 3. The description merely re-lists the enum values without adding meaning, such as the distinction between fail and cancel or when reason is expected, so it does not exceed the baseline.

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?

The description gives a precise verb set (pause, resume, cancel, complete, fail) applied to a specific resource, a tracked automation task. An agent immediately knows the operation. It stops short of 5 because it never differentiates itself from siblings like task_resume or task_status, which appear to overlap on at least the resume action.

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 by the action enumeration; there is no statement of when to prefer this tool over task_resume, task_status, or task_checkpoint. No prerequisites, no when-not guidance, and no indication of whether only one action can be applied per call.

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