Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

solution_info

Retrieve detailed metadata for a stored COMSOL solution—including type, solver sequence, study, size, DoFs, fields, loop levels, datasets, and warnings/errors—to inspect or troubleshoot results.

Instructions

Detailed information about one stored solution.

Includes: solution type (Stationary/Time/Parametric/Eigenfrequency/...), solver-sequence tag/type, attached study, storage size, DoF count, dependent fields and their DoFs, solution loop levels (t, k, lambda), solution numbers, parameter values, result datasets that use it, and solver warning/error messages.

Args: solution: solution tag (e.g. "sol1"; None = the only solution). model: model name/tag (None = current model).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "solution_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
solutionNo

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 burden. It partially compensates by enumerating exactly what is returned (type, solver sequence, study, size, DoFs, loop levels, datasets, warnings), which is genuine behavioral disclosure. However, it never states that the call is read-only, what happens when multiple solutions exist and the argument is None, or how a missing solution is reported.

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 is front-loaded with the one-line purpose followed by a compact contents list and an Args block, which is an efficient structure. The enumeration is long but each item is a distinct returned field, so little 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?

With no output schema, the description usefully lists the return fields, and with no annotations it covers the mutation question implicitly through 'info'. The remaining gap is edge-case behavior (None with multiple solutions, unknown tag handling), which a two-parameter read tool could reasonably spell out but is not crippling.

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 define both parameters, and it does: 'solution' is a tag with a concrete example ('sol1') plus the None sentinel meaning the only solution, and 'model' defaults to the current model. That is meaningful semantics beyond the bare string-typed schema, though format variations (tag vs. index) are not clarified.

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 sentence names a specific verb and resource ('Detailed information about one stored solution') and the enumerated contents make the scope concrete. The word 'one' implicitly separates it from the sibling solution_list, but no sibling is named explicitly, so an agent must infer that distinction.

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: the agent learns it should call this when it wants details about a single solution. The default behaviors ('None = the only solution', 'None = current model') are useful invocation hints, but there is no guidance on when to prefer dataset_info, solution_list, or result_solution_values instead.

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