Skip to main content
Glama
informatics-isi-edu

Deriva MCP Server

Official

cancel_task

Cancel a background task using its task ID, receiving cancellation status. Works best-effort; long-running operations may not stop immediately.

Instructions

Cancel a pending or running background task.

Args: task_id: The task ID to cancel.

Returns: JSON with cancellation status.

Note: Cancellation is best-effort. Long-running operations may not stop immediately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It adds important context by noting that cancellation is 'best-effort' and that 'long-running operations may not stop immediately,' which helps set expectations. It also outlines the return format, though it doesn't discuss permissions or idempotency.

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 concise and well-structured, with the primary action stated first, followed by args, returns, and a note. Every sentence provides value with no redundancy.

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?

The tool is simple, has an output schema, and the description includes a behavioral caveat. It could mention what happens if the task is already completed or if cancellation fails, but overall it is sufficiently complete for typical usage.

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?

The input schema provides only a title and type for task_id, with no description (coverage 0%). The description compensates by explicitly defining task_id as 'The task ID to cancel,' which adds the necessary semantic meaning beyond the schema.

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 states exactly what the tool does: 'Cancel a pending or running background task.' This uses a specific verb and resource, clearly distinguishing it from sibling tools like list_tasks and get_task_status.

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 phrase 'pending or running' provides clear context for when to use the tool, but it does not explicitly mention alternatives or define exclusion criteria. The usage is implied, not contrasted with similar tools like stop_execution.

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/informatics-isi-edu/deriva-mcp'

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