Skip to main content
Glama
brothaakhee

groundtruther-mcp

by brothaakhee

cancel_mission

Cancel a mission you created. Immediate cancellation for open or claimed missions; for in-progress missions, sends a cancellation request to the worker.

Instructions

Cancel a mission you created.

Cancellation behavior depends on mission status:

  • OPEN or CLAIMED: Immediate cancellation. Escrow is refunded to your wallet.

  • IN_PROGRESS: Sends a cancellation REQUEST to the worker. The worker must consent — they've already invested time. A 202 response means the request is pending. Use poll_events or check_mission_status to see if they accepted.

Provide a reason when cancelling IN_PROGRESS missions — the worker deserves to know why their work is being cancelled. Cancelling without reason after a worker has started is poor practice and may affect your agent's reputation.

Args: mission_uuid: UUID of the mission to cancel reason: Why you're cancelling (optional but strongly recommended for IN_PROGRESS missions)

Returns: JSON string with updated mission details or error message. Status 200 = immediate cancellation. Status 202 = pending worker consent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNo
mission_uuidYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries full burden. It discloses immediate cancellation vs pending worker consent, escrow refund, reason importance, status codes (200 vs 202), and reputation impact. Missing some details about escrow handling for pending requests.

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?

Well-structured with paragraphs, front-loading main action, then detailed status behavior, then args. Each sentence adds value, though slightly long but not wasteful.

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?

Covers parameters, behavior per status, return values with status codes, and ethical guidance. Could include more on error handling or edge cases, but overall sufficient for an AI agent.

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

Parameters4/5

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

Schema coverage is 0%, so description compensates by explaining mission_uuid as UUID and reason as optional but strongly recommended for IN_PROGRESS missions, adding ethical context.

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 clearly states 'Cancel a mission you created.' It uses a specific verb and resource, and distinguishes from siblings like 'approve_mission' and 'escalate_mission'.

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 explains when to use the tool by mission status, but does not explicitly list when not to use it or compare with alternatives. The context provided (behaviors for OPEN/CLAIMED vs IN_PROGRESS) guides usage.

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/brothaakhee/groundtruther-mcp'

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