Skip to main content
Glama

cancel_task

Cancel a task and its pending offer, subject to cancellation policy. Provide the task ID and optionally a reason.

Instructions

Cancel a task and any pending offer (subject to cancellation policy).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNo
task_idYes
Behavior2/5

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

With no annotations, the description must disclose side effects but only states it cancels a task and pending offer. It omits consequences like irreversibility, notification triggers, or policy details, leaving the agent underinformed about mutation behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence with front-loaded key action, but it omits critical details that would make the tool usable. Conciseness is achieved at the cost of completeness.

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

Completeness2/5

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

Given two parameters, no output schema, and no annotations, the description fails to cover error states, return behavior, or preconditions (e.g., required permissions, valid task state). Gap is significant for a destructive mutation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description adds no meaning to 'task_id' or 'reason'. The purpose of 'reason' is not explained (e.g., for client vs. worker), so the agent gains no value beyond the schema definition.

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 uses a specific verb ('cancel') and resource ('task and any pending offer'), clearly distinguishing it from sibling tools like get_task_status (read-only) and post_task (creation).

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives. The phrase 'subject to cancellation policy' hints at conditions but does not specify when cancelling is appropriate or what prerequisites exist.

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/sttruji/mundane-mcp'

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