Skip to main content
Glama

stop_task

Stop working on a task to pause its active timer while maintaining your claim on it, preventing other agents from modifying it during your pause.

Instructions

Stop working on a task (pauses active timer, keeps claim)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTask ID or UUID
agent_idYesGlobally unique agent identifier (e.g. "claude-opus-<uuid>"). Each agent instance MUST use a distinct ID to prevent collisions between parallel agents.

Implementation Reference

  • The actual implementation of stop_task that uses runCommand to stop the taskwarrior task.
    export async function stopTask(id: string, agentId: string): Promise<void> {
      const uuid = await ensureClaim(id, agentId);
      try {
        await runCommand('task', [uuid, 'stop']);
      } catch (err) {
        throw new Error(`Failed to stop task ${id}: ${(err as Error).message}`);
      }
    }
Behavior4/5

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

With no annotations provided, the description carries full disclosure burden. It successfully reveals that the operation pauses the timer and preserves the claim (ownership), providing necessary behavioral context beyond the schema. Minor gap: doesn't address idempotency or error states.

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?

Exemplary conciseness: single sentence with front-loaded action and parenthetical clarification. Every word earns its place; zero redundancy despite conveying distinct behavioral traits.

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?

For a 2-parameter state-change tool with no output schema, the description adequately covers the operation's effect (paused timer, retained claim). Sibling context implies this is the inverse of start_task; description is sufficient for correct invocation.

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% (both id and agent_id fully documented), establishing baseline 3. The tool description adds no parameter details, but doesn't need to given comprehensive schema documentation.

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?

Description provides specific verb (stop), resource (task), and critical behavioral differentiators in parentheses (pauses timer, keeps claim). The 'keeps claim' clause effectively distinguishes it from sibling complete_task.

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 parenthetical '(pauses active timer, keeps claim)' implies usage context by distinguishing from complete_task, but lacks explicit 'when to use vs alternatives' guidance. No explicit prerequisites or exclusions stated.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/maxronner/taskwarrior-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server