Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

visual_view_animation

Display sampled frames of a COMSOL animation file as a filmstrip to review GIF, MP4, AVI, or WebM results without opening an external player.

Instructions

Display sampled frames of a COMSOL animation (GIF/MP4/AVI/WebM) as a filmstrip.

Returns up to frames image content blocks (evenly sampled) plus a summary (frame count, duration, fps when available). Useful to review an animation produced by the anim_* tools without opening an external player.

Args: path: absolute path to the GIF/MP4/AVI/WebM file. frames: number of frames to sample (1-12). max_width: downscale each sampled frame to this width.

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": {
      "path": "<path>"
    },
    "name": "visual_view_animation"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
framesNo
max_widthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does well: it discloses that the result is up to `frames` image content blocks sampled evenly, plus a summary of frame count, duration, and fps when available. It does not cover failure modes such as missing files, unreadable containers, or very large files, which is the main remaining gap.

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?

Purpose and output are front-loaded in the first two sentences, then parameters follow in an Args block - a clean, scannable structure. A few phrases ('as a filmstrip', the parenthetical 'evenly sampled') are slightly redundant with neighboring text but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple inspection tool with three parameters and no output schema or annotations, the description covers what it does, what it returns, and what each argument means. Only error/edge-case behavior and a note contrasting it with the still-image viewer are missing.

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: `path` is specified as an absolute path, `frames` is bounded to 1-12 (a constraint absent from the schema), and `max_width` is explained as downscaling each frame. Defaults (6, 900) are only in the schema, but the semantics of each parameter are meaningfully clarified.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource - 'Display sampled frames of a COMSOL animation ... as a filmstrip' - and enumerates the supported container formats (GIF/MP4/AVI/WebM). That scope naturally separates it from the sibling visual_view_image, which handles still images, and it explicitly ties itself to output of the anim_* tools.

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?

'Useful to review an animation produced by the anim_* tools without opening an external player' gives a clear when-to-use condition and names the upstream producer tools. It does not name an alternative or say when not to use it (e.g., for static images), so it stops short of full routing guidance.

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