Skip to main content
Glama

comsol_cluster_cancel

Cancels a running or queued Slurm job by job ID, stopping an unwanted cluster batch solve to free resources for other work.

Instructions

Cluster: Slurm-Job abbrechen (scancel).

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": "comsol_cluster_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.5

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full disclosure burden, yet it only says the call maps to scancel. It doesn't state that this is an irreversible destructive operation on a running job, whether partial results/output are preserved, whether permission checks apply, or what happens on an invalid or already-completed job id.

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, front-loaded sentence with zero padding. Its brevity is appropriate, though it drifts near under-specification rather than being optimally informative.

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 cluster mutation with no annotations and an undocumented parameter, the definition is too thin; an agent needs to know the consequences and prerequisites before cancelling a job. The existence of an output schema excuses the description from explaining return values, but little else is covered.

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 0% for the single job_id parameter, so the description must compensate; it only implies the id refers to a Slurm job. It adds no format information, no indication of where to obtain the id (submit/status), and no error behavior for unknown ids, though a lone required id is hard to misread.

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?

"Cluster: Slurm-Job abbrechen (scancel)" states a specific verb (abort/cancel) and resource (Slurm job) and even names the underlying command, so the action is unambiguous. It doesn't explicitly contrast itself with siblings like comsol_cluster_submit or comsol_cluster_status, but the name plus verb makes the distinction obvious.

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?

There is no explicit when-to-use or when-not-to-use guidance, no prerequisites (e.g. job ownership, whether the job must be running), and no pointer to an alternative such as checking status first. Usage is only inferred from the tool name and the word "abbrechen".

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