Skip to main content
Glama

comsol_run_case

Queue a COMSOL model load or build and return a job ID; optionally solve a selected or all studies, using a stable operation ID to reconcile lost receipts.

Instructions

Queue a library load or original build and return a job ID. solve=False never solves; solve=True computes the selected study or all studies. Pass a stable operation_id to reconcile a lost receipt. A required hard deadline blocks submission on this backend. The USER manually imports the named model via File > COMSOL Multiphysics Server > Import App from Server.

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": {
      "case_id": "<case_id>"
    },
    "name": "comsol_run_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
solveNo
studyNo
case_idYes
operation_idNo
show_desktopNo
task_case_idNo
require_hard_deadlineNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

There are no annotations, so the description must carry the behavior itself. It discloses that submission is queued and returns a job ID, that operation_id provides idempotency for lost receipts, that require_hard_deadline can cause rejection, and that the USER must manually import the model via File > COMSOL Multiphysics Server > Import App from Server. It does not state whether a queued job can be cancelled or what permissions are needed.

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?

The description is five dense sentences that front-load the core action and then layer on mode, idempotency, deadline, and manual-import notes. Every sentence carries information, though the abrupt phrasing of the final USER-import sentence makes its relationship to submission slightly unclear.

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?

An output schema exists, so return values need not be described, and the description covers the async behavior well. However, with seven parameters at 0% schema coverage, the undefined case_id, show_desktop, and task_case_id leave the definition short of what an agent needs to call the tool 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 is the only source of parameter meaning. It explains solve, study ('selected study or all studies'), operation_id, and require_hard_deadline, but says nothing about case_id, show_desktop, or task_case_id, leaving three of seven parameters opaque. That is meaningful added value, but not full compensation for the coverage gap.

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 uses a specific verb and resource: 'Queue a library load or original build and return a job ID,' which tells an agent this is an asynchronous submission tool rather than a synchronous compute. It clearly separates the two modes (solve=False vs solve=True). It doesn't name a sibling alternative, so an agent must infer the difference from comsol_isolated_batch_submit or comsol_start.

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?

The description gives concrete selection conditions: solve=False never solves, solve=True computes the selected study or all studies, and a stable operation_id should be passed to reconcile a lost receipt. It also warns that a required hard deadline blocks submission on this backend, which is a real precondition. It does not say when to choose this tool over sibling submission tools or what to do after receiving the job ID.

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