Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

anim_convert

Convert animation files between GIF and MP4 formats, with options to set frame rate or limit maximum frames.

Instructions

Convert an animation between formats (e.g. GIF -> MP4 or MP4 -> GIF).

Args: source: input animation path. output: output path; suffix decides the container (.gif or .mp4). fps: output frame rate (default: detected from the source, else 10). max_frames: use at most this many frames.

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": {
      "source": "<source>",
      "output": "<output>"
    },
    "name": "anim_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsNo
outputYes
sourceYes
max_framesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does add real behavior: the output suffix selects the container, fps defaults to source detection or 10, and max_frames truncates. It omits write semantics that matter for a file-producing tool: whether an existing output is overwritten, what happens if the suffix is unsupported, and what the tool returns or where the file lands.

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 purpose sentence is front-loaded and each arg line is short. The source/output lines partly restate their names, but the suffix rule and fps default earn their space, so there is little waste.

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 four-parameter file-conversion tool with no annotations and no output schema, the description covers the input side adequately but not the results side: what is returned, overwrite behavior, and error cases are unstated. An agent can call it correctly but cannot predict the outcome confidently.

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 coverage is 0%, so the description must compensate, and it does: all four parameters get meaning, including the non-obvious suffix-to-container rule and the fps fallback chain (source-detected, else 10). It leaves slight ambiguity on max_frames, which could mean silent truncation or a hard limit, but overall the semantic value is well above the bare schema types.

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?

"Convert an animation between formats" names a specific verb and resource, and the GIF -> MP4 / MP4 -> GIF examples make the operation concrete. It is clear enough to separate from anim_resize or anim_create, though it never explicitly distinguishes itself from anim_export, which plausibly also writes animation files.

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 only implied by the format-conversion framing: an agent can infer you call this when you need a different container, but the description states no when-to-use condition, no prerequisite (source file must exist), and no pointer to alternatives such as anim_export.

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