Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

job_wait

Waits up to a specified timeout for a COMSOL job to finish, then returns its completion status so agents can synchronize workflows.

Instructions

Wait up to timeout_s seconds for a job to finish, then return its status.

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_wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes
timeout_sNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses blocking semantics and the bounded wait ('up to timeout_s seconds'), but leaves open what happens on timeout (error vs. partial status), whether an invalid job_id raises, and any polling/rate behavior during the wait.

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 compact sentence with the blocking behavior front-loaded and no filler. Slightly tight given the missing timeout-outcome detail, but appropriately sized for a two-parameter tool.

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 simple blocking-wait tool with no output schema and no annotations, the definition covers the core contract but omits the timeout edge case and the shape of the returned status, which an agent needs to handle the call correctly.

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%, so the description must compensate. It does explain timeout_s as an upper bound on the wait, but adds nothing about job_id (where it comes from, expected format) beyond the schema's title, leaving half the parameters underspecified.

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 ('wait ... for a job to finish') plus the outcome ('return its status'), which clearly separates it from polling-style siblings like job_status. It does not name any sibling explicitly, so the differentiation is inferable rather than stated.

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 'wait ... for a job to finish' implies the use case (blocking until completion) but gives no explicit when-to-use or when-not-to-use guidance, and does not point to job_status or job_list as alternatives for non-blocking checks.

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