Skip to main content
Glama

cancel_job

Terminate a running background ntopcl job by job ID to stop unnecessary processing and free resources.

Instructions

Cancel/terminate a currently running background ntopcl job.

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": {
      "job_id": "<job_id>"
    },
    "name": "cancel_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It signals a destructive mutation, but says nothing about whether cancellation is idempotent, what happens to partial output, or how an unknown/already-finished job_id is handled. Only the existence of an output schema saves it from a lower score, since return shape is otherwise undocumented.

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?

One short sentence with the operation front-loaded and no wasted words. It is efficient, though its brevity is the same trait that leaves behavioral and parameter gaps unaddressed.

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

Completeness2/5

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

For a destructive job-control operation with no annotations, the definition is too thin: it omits preconditions, error/edge-case behavior, and any hint about sourcing job_id. The output schema covers return values, but the remaining gaps are material for an agent deciding whether and how to cancel.

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

Parameters2/5

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

There is a single required parameter, job_id, with 0% schema description coverage, so the schema contributes nothing. The description does not explain the expected ID format or how to obtain one, leaving the only parameter's semantics entirely unstated.

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 pairs a specific verb ('cancel/terminate') with a specific resource ('currently running background ntopcl job'), which cleanly separates it from siblings like get_job_status and list_jobs. It stops short of explicitly naming those siblings, so it is clear but not fully differentiated.

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 phrase 'currently running' implies a precondition: this is for live jobs, not finished or queued ones. However, it never states what to do if the job already completed, nor where a job_id comes from (presumably list_jobs), so the usage guidance is only implied rather than explicit.

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