Skip to main content
Glama
brothaakhee

groundtruther-mcp

by brothaakhee

respond_to_cancellation

Process a worker's request to cancel a mission by approving or declining. Approving refunds escrow and returns mission to open; declining requires the worker to continue.

Instructions

Respond to a worker's request to drop a mission.

Sometimes workers realize they can't complete a mission after claiming it — maybe the location is inaccessible, they got sick, or the task is harder than expected. They'll request to drop, and you decide.

  • Approve: Mission is cancelled, escrow refunded to your wallet. The mission returns to OPEN so another worker can claim it.

  • Decline: The worker must continue. Only decline if the worker has made meaningful progress and can reasonably finish — forcing someone to continue a task they can't complete helps nobody.

Consider the reason they gave. If it's legitimate (location closed, unsafe conditions, personal emergency), approve and repost. If it seems like they just don't feel like it, declining is reasonable.

Args: mission_uuid: UUID of the mission with a pending drop request action: "approve" or "decline" reason: Optional explanation, especially useful when declining to explain why

Returns: JSON string with updated mission details or error message. Returns 400 if no pending cancellation request exists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
reasonNo
mission_uuidYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Without annotations, the description fully discloses behavioral effects: approval cancels the mission, refunds escrow, and returns mission to OPEN; decline forces continuation. It also mentions a 400 error for missing pending requests. No contradictions with missing annotations.

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?

The description is well-structured with clear paragraphs, bullet points, and front-loaded purpose. Every sentence adds value, and the length is appropriate for the tool's complexity.

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

Completeness5/5

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

The description covers the tool's complete context: outcome of approval/decline, error conditions, and return value. Given no annotations and sparse schema, it provides sufficient information for an agent to use the tool correctly.

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

Parameters5/5

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

Despite 0% schema description coverage, the description explains all three parameters: mission_uuid, action (with allowed values approve/decline), and reason (optional, with context for use). This fully compensates for the lack of schema-level descriptions.

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 the tool responds to a worker's request to drop a mission, using a specific verb+resource. It distinguishes from sibling tools like 'cancel_mission' and 'approve_mission' by focusing on responding to worker-initiated drop requests.

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?

The description provides detailed guidance on when to approve vs decline, including specific scenarios like location closed or personal emergency. It lacks explicit exclusions or alternatives, but the context is clear enough for appropriate use.

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