Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

plot_run

Render a COMSOL plot group or one plot feature and report timing, preparing plots for export or verification.

Instructions

Render a plot group (or a single plot feature) and report timing.

Rendering is needed before exporting images (though plot_export_image also triggers rendering automatically when COMSOL requires it).

Args: plotgroup: plot group tag. feature: optional plot feature tag to render alone. model: model name/tag (None = current model).

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": {
      "plotgroup": "<plotgroup>"
    },
    "name": "plot_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
featureNo
plotgroupYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses that the tool reports timing and has a rendering relationship with plot_export_image, but it does not state side effects, whether rendering mutates plot state, permissions needed, or error behavior.

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 front-loaded and compact, with a clear purpose sentence, a useful caveat about export behavior, and an Args section. The wording is efficient, though 'report timing' could be more precise.

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 three-parameter tool with no annotations and no output schema, the definition covers purpose and parameters adequately. It still lacks return-format details for the reported timing and does not describe side effects or failure modes, leaving meaningful gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 and it does: plotgroup is the plot group tag, feature is an optional plot feature tag to render alone, and model is a model name/tag where None means the current model. It fully covers the three parameters, though it does not explain tag formats.

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: 'Render a plot group (or a single plot feature) and report timing.' It also distinguishes this from plot_export_image by noting that export can trigger rendering automatically when COMSOL requires it.

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?

Mentions that rendering is needed before exporting images and that plot_export_image may auto-render, which implies when this tool is useful. However, it does not explicitly say when an agent should call plot_run instead of plot_export_image, nor does it state exclusions or prerequisites.

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