Skip to main content
Glama

cancel_job

Cancel an active job by its job ID to stop ongoing chapter downloads or processing on the Lightnovel Crawler server.

Instructions

Cancel a running 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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/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 for a mutation tool and largely fails: it does not say whether cancellation is graceful or immediate, what happens to partial artifacts, whether it is idempotent, what error surfaces for finished/unknown jobs, or what permissions are needed.

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?

A single short sentence with the action front-loaded and no filler. Its brevity is efficient structurally, though the missing detail is a completeness problem rather than a conciseness virtue.

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?

A destructive mutation with zero annotations, no output schema, and an undocumented parameter needs considerably more than one sentence. The definition does not convey return behavior, failure modes, or post-cancellation state.

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?

Schema description coverage is 0% for the single required parameter, so the description needed to compensate. It merely names the resource and never says where job_id comes from (e.g., a listing or status tool) or what format it takes.

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

Purpose3/5

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

States a specific verb and resource ('Cancel a running job'), so the action is identifiable. However, in a sibling set full of novel/chapter/ebook tools, it never explains what a 'job' is or how it relates to get_job, leaving the agent to guess whether this targets a background task, a download, or an ebook build.

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

Usage Guidelines2/5

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

The word 'running' hints that only in-flight jobs are cancellable, which is a weak implicit constraint. There is no explicit when-to-use guidance, no statement about what to do if the job already completed, and no routing to alternatives such as get_job for inspecting status first.

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