Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

anim_add_title

Adds a title bar or overlay to every frame of an existing GIF or video so animations can be labeled with configurable position, font size, and output format.

Instructions

Add a title bar/overlay to every frame of an existing GIF or video.

Args: source: input animation path (.gif, .mp4, .avi, .webm). title: title text (\n creates multiple lines). output: output path (.gif or .mp4); defaults to beside the input with a "_titled" suffix; format follows the output suffix. position: "top" (default) | "bottom" | "overlay-top" | "overlay-bottom". font_size: title font size in px (default 18). fps: output frame rate (default: detected from the source, else 10).

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>",
      "title": "<title>"
    },
    "name": "anim_add_title"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsNo
titleYes
outputNo
sourceYes
positionNotop
font_sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, and it gives substantial behavior: the overlay goes on every frame, output defaults beside the input with a '_titled' suffix, the format follows the suffix, and fps falls back to 10 when it cannot be detected. It does not say whether the source is left untouched, what the tool returns, or what happens on failure, so this is useful but incomplete for a mutation tool with zero annotation coverage.

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?

It leads with a single front-loaded summary sentence and then a docstring-style Args block giving one line per parameter, with zero filler. 'title: title text' is mildly circular, but otherwise every line adds information.

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?

There is no output schema and no annotations, so the description has to carry the full load; it covers purpose, all parameters, defaults, and how the output path is resolved. It omits what the tool returns and whether the input file is unmodified, minor gaps for a rendering utility of this complexity.

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: all six parameters are documented with types, defaults (font_size 18, fps 10/auto-detected, position 'top'), allowed values for position, path-format rules for source and output, and the meaning of '\n' in title. The only gap is its silence about the purpose of the two nullable parameters beyond their defaults, which is why this is not a 5.

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 opens with a specific verb, resource, and scope: 'Add a title bar/overlay to every frame of an existing GIF or video.' That is far more precise than a tautology, and it tells the agent the effect applies to the whole animation, not a single frame. It never contrasts itself with any sibling (for example, anim_convert or anim_resize), so this stops short of a 5.

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?

The description implies usage by constraining the accepted input formats (.gif, .mp4, .avi, .webm), and the output parameter explains the default path and which format the tool picks. However, it gives no when-to-use guidance, no alternative-tool routing, and no stated prerequisites, such as a dependency on ffmpeg or similar, so the guidance is only implied.

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