Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

media_info

Retrieve frame count, duration, fps, dimensions, and file size from GIF, video, or image files to inspect animation and media properties.

Instructions

Probe an animation or image: frame count, duration, fps, dimensions, size.

Args: path: media file path (.gif, .mp4/.avi/.webm/.mov or .png/.jpg/.bmp).

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": "media_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes

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?

No annotations are supplied, so the description carries the full behavioral burden. It implies a non-mutating inspection and tells the agent which fields come back, but it says nothing about failure modes (unsupported codec, missing path), whether any files are written, or how long probing a large video takes.

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?

Two sentences, front-loaded with the purpose before the argument block; every clause adds information. The "Args:" formatting is slightly formal for a single parameter but not wasteful.

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 one-parameter tool with no annotations and no output schema, the description covers what it does, what it accepts, and what it returns — the essential surface. The only real omissions are error behavior and path resolution conventions.

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% — the schema only says "Path" — so the description must compensate, and it does by enumerating the accepted extensions (.gif, .mp4/.avi/.webm/.mov, .png/.jpg/.bmp). It still does not say whether the path is absolute or relative to a workspace root.

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?

"Probe an animation or image" gives a specific verb plus resource, and the enumerated return fields (frame count, duration, fps, dimensions, size) make the output scope concrete. It is clearly the inspection counterpart to the media_*/anim_* conversion siblings, though it never names an alternative outright.

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 implied by the accepted file types: use it when you have an existing .gif/.mp4/.png and want metadata rather than to create or convert media. There is no explicit when-not guidance, no mention of what to do for non-media files, and no stated prerequisites such as the file existing on disk.

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