Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

job_cancel

Request cancellation of a background COMSOL job; stops multi-step jobs between steps but cannot interrupt a single monolithic solve.

Instructions

Request cancellation of a background job.

Cancellation is cooperative: it stops multi-step jobs between steps and is ignored (documented) by a single monolithic COMSOL solve.

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

Input Schema

NameRequiredDescriptionDefault
job_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does add genuinely useful behavioral context: cancellation is cooperative, applies between steps of multi-step jobs, and is ignored by a single monolithic COMSOL solve. It omits other important traits, such as whether the call returns immediately after the request or waits, what state the job ends up in, and what errors occur for an unknown or already-finished job.

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 followed by the key caveat. The parenthetical '(documented)' in the second sentence is slightly awkward filler but the overall structure is tight.

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 single-parameter tool with no output schema this is close, and the cooperative-cancellation caveat is the right thing to highlight. What is missing is the practical loop: how to get a job_id, whether to poll job_status afterward, and what the call returns or errors on.

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?

The single parameter job_id has 0% schema description coverage and the description says nothing about it — not its format, not where to obtain it (presumably job_list or job_status). With low coverage the description should compensate, and it does not.

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 opens with a specific verb and resource ('Request cancellation of a background job'), so an agent immediately knows what the tool does. It does not explicitly name a sibling (job_list, job_status, job_wait) to differentiate itself, but the resource is unambiguous.

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?

Usage is implied rather than stated: you cancel a running background job, and the second sentence effectively tells the agent when the call will have no effect (a monolithic COMSOL solve). There is no explicit guidance on prerequisites, or on checking job state via job_status before calling.

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