Skip to main content
Glama

study_cancel

Cancel a queued COMSOL job before it starts; for an active solve, direct the user to stop it manually in COMSOL Desktop without automating the UI.

Instructions

Cancel a queued job before it starts. For an active solve ask the USER to manually use COMSOL Desktop Stop; the agent must not automate the UI. Never claims an unsupported cancellation succeeded.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "study_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does disclose meaningful traits: cancellation applies only to pre-start jobs, UI automation is off-limits, and the tool will not falsely report success. It leaves open what happens when job_id is omitted (schema default is null) and what the response looks like on partial failure.

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?

Three short sentences, front-loaded with the action and then the constraint, with no filler. The closing 'Never claims an unsupported cancellation succeeded' is slightly cryptic in isolation but still earns its place as a reporting guarantee.

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?

No output schema and no annotations mean the description must cover behavior alone, and it does well on safety and honesty. It is incomplete for a tool with an optional identifier parameter: an agent cannot tell what to pass or what a successful versus failed cancellation returns.

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% and the description never mentions job_id at all — not what identifier it expects, nor what the null default means (cancel the only queued job? error?). One undocumented parameter is a real gap the description does nothing to close.

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?

States a specific verb and resource ('Cancel a queued job') plus a scope constraint ('before it starts'), which lets an agent distinguish it from the solve-related siblings such as study_solve or comsol_job_status. It does not name a sibling alternative explicitly, so it stops short of a 5.

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?

Gives an explicit when-not: for an active solve, the agent must ask the USER to press Stop in COMSOL Desktop rather than automating the UI. That is a concrete routing rule with an exclusion, though it never names which sibling tool to consult to determine whether a job is still queued.

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

Deploy Server

Other Tools