Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

anim_resize

Resize GIF or video animations to exact dimensions or scale proportionally by setting one dimension, with optional frame-rate control for the output.

Instructions

Resize an animation (GIF/video) — proportional or exact dimensions.

Args: source: input animation path. output: output path (.gif or .mp4); defaults beside the input with a "_resized" suffix. width: target width in px (height follows the aspect ratio when only width is given). height: target height in px (width follows the aspect ratio when only height is given). 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>"
    },
    "name": "anim_resize"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsNo
widthNo
heightNo
outputNo
sourceYes

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, the description carries the full burden and does supply useful behavior: output defaults beside the input with a "_resized" suffix, fps defaults to the detected source rate else 10, and aspect-ratio preservation when only one dimension is given. It omits overwrite behavior, quality/encoding settings, and whether anything is returned, which matters for a write 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One summary line front-loads the purpose, then a compact Args block maps one-to-one onto the five parameters. No filler sentences and no repetition of schema types.

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 five-parameter mutation tool with no annotations and no output schema, the description covers inputs well but leaves gaps an agent needs: the return value (presumably the output path), overwrite behavior when the target exists, and the failure case where neither width nor height is provided.

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 Args block does real work: it explains the path semantics of source, the accepted extensions and default location for output, the aspect-ratio coupling between width and height, and the fallback rule for fps. It stops short of stating what happens when neither dimension is supplied or how invalid values are handled.

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 first line states a specific verb and resource ("Resize an animation (GIF/video)") plus the two supported modes (proportional or exact dimensions), so the agent knows exactly what the tool produces. It does not name a sibling it is distinct from, so a nearby tool like anim_convert could still be confused with 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?

Usage is only implied by the verb: resize an existing animation. There is no statement of when to prefer this over anim_convert or anim_export, no prerequisites, and no exclusions.

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