Skip to main content
Glama

study_wait

Waits up to 30 seconds for a COMSOL study job and returns its current status. The timeout does not cancel the solve, so long-running jobs continue.

Instructions

Wait at most 30 seconds for a study job, then return current status; timeout does not cancel a solve.

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

Input Schema

NameRequiredDescriptionDefault
job_idNo
timeoutNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry the full burden. It discloses three useful behaviors: a capped wait, status return, and that timeout is non-destructive. It omits what happens when job_id is null, error behavior, and the relationship between the stated 30-second cap and the overridable timeout parameter.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single tight sentence with the core behavior front-loaded and no filler. The important caveat (timeout does not cancel) is attached directly to the wait duration it qualifies.

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 two-parameter wait tool the description covers the essential blocking semantics and the non-destructive timeout. It is incomplete regarding job_id selection, the timeout override, and any failure modes, and with no annotations or output schema there is nothing else to fill those gaps.

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 coverage is 0%, so the description must compensate, but it never mentions job_id at all and only obliquely gestures at timeout via 'at most 30 seconds'. It leaves the null-default behavior of both parameters unexplained, so an agent cannot tell what happens if job_id is omitted.

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 states a specific verb (wait), resource (study job), and outcome (return current status), which is far more than restating the name. It does not explicitly distinguish itself from siblings like study_get_progress or study_solve_async, but the 'wait' semantics are clear enough for an agent to infer the blocking behavior.

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: call this to block briefly for a job to finish. The clause 'timeout does not cancel a solve' tells the agent it is safe to bail out and retry. However, no explicit guidance says when to prefer this over a non-blocking progress check or how to sequence it with study_solve_async.

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