Skip to main content
Glama
charted-sea-mcp

charted-sea-mcp

by ayenisholah

Cancel tasks

cancel_tasks
DestructiveIdempotent

Cancels scraping tasks and their sub-tasks by UUID so cancelled tasks are not billed.

Instructions

Cancels tasks (and their sub-tasks) by UUID. Cancelled tasks are not billed. Cancelling by country is deliberately not available here.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "scraper": "<scraper>",
      "uuids": "<uuids>"
    },
    "name": "cancel_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
uuidsYesTask UUIDs (1–100)
scraperYesScraper path name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true, readOnly=false, so the safety profile is covered. The description still earns credit for two facts not in the annotations: cancellation cascades to sub-tasks, and cancelled tasks are not billed — a material business consequence for a destructive operation. It doesn't say what happens to already-running or partially completed tasks.

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?

Three short sentences, front-loaded with the core action, followed by two high-value facts (cascade and billing) and an intentional exclusion. No filler or 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?

For a destructive, idempotent mutation with no output schema, the description covers the critical unknowns: cascade behavior, billing impact, and the missing country-based mode. Minor gaps remain around partial success with mixed UUIDs and behavior on already-completed tasks, but nothing an agent needs in order to call it correctly is absent.

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%, with both parameters (a UUID array bounded to 1–100 and a scraper enum) fully documented in the schema. The description's 'by UUID' merely restates that and adds no format, batching, or partial-failure semantics beyond the structured fields, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Cancels tasks ... by UUID') and adds scope detail: sub-tasks are cancelled too, and country-based cancellation is excluded. It does not name a sibling tool that performs the country-based variant, so differentiation is implied rather than explicit.

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 establishes a clear usage condition (cancel by UUID) and one deliberate exclusion ('Cancelling by country is deliberately not available here'), which steers an agent away from attempting a country filter. It stops short of naming the alternative tool or saying when cancellation versus other task operations should be preferred.

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