Skip to main content
Glama
AdaptixC2 MCP Server

AdaptixC2 MCP Server

by VictorNS69

adaptix_task_cancel

Destructive

Cancel queued tasks for a specified agent using task IDs from adaptix_task_list to stop pending post-exploitation actions.

Instructions

Cancel queued tasks for an agent. task_ids is the list of task ids from adaptix_task_list.

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": {
      "agent_id": "<agent_id>",
      "task_ids": "<task_ids>"
    },
    "name": "adaptix_task_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesAgent id from adaptix_agent_list.
task_idsYesTask ids from adaptix_task_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations only supply destructiveHint=true, so the description carries the rest, and it usefully narrows the scope to queued tasks. It does not say what happens to tasks that are already running, whether cancellation is reversible, whether partial failures are reported, or what the call returns.

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?

Two short sentences, front-loaded with the action and scope. The second sentence largely duplicates the schema's own parameter description, so it is slightly redundant but not wasteful.

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

Completeness3/5

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

For a simple two-required-parameter mutation with no output schema, the definition is adequate but thin: it omits what happens to non-queued tasks, idempotency, partial-failure handling, and return value, which matter for a destructive operation.

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 coverage is 100%, so both parameters are already documented, and the description merely restates that task_ids comes from adaptix_task_list. The cross-reference to the listing tool is mildly helpful for ID sourcing, but no format or list-size constraints are added.

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?

Names a specific verb+resource ('Cancel queued tasks for an agent') and scopes it to queued tasks, which distinguishes it implicitly from a full delete. It does not explicitly contrast with the sibling adaptix_task_delete, so an agent must infer that difference.

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

Usage Guidelines3/5

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

The word 'queued' implies usage boundaries (only queued tasks, not running ones), but there is no explicit when-to-use versus when-not guidance, no mention of adaptix_task_delete as the alternative, and no stated prerequisites or error behavior.

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