Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

mat_list

Lists materials assigned to a COMSOL component and optionally includes global materials, or restricts results to global definitions for model inspection.

Instructions

List the materials of a component (and optionally global materials).

Args: component: component tag (default "comp1"); "" or "global" lists only global materials. include_global: also list global-definition materials. 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": "mat_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
componentNocomp1
include_globalNo

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 supplied, the description carries the full burden; 'List' weakly signals a read-only operation but nothing is stated about permissions, cost, or failure modes. It does add genuinely useful behavioral context that the schema lacks, namely that an empty/global component value restricts results to global-definition materials and that include_global widens scope.

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 the Args block is terse with no filler. The 'Args:' formatting from the docstring is slightly raw but costs nothing in clarity.

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?

Parameters are fully explained, which is the main need for a 3-param list tool. However, with no annotations and no output schema, the description should say what comes back (tags? names? library vs component origin) and confirm the operation is read-only; those gaps leave it only adequate for the tool's 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 coverage is 0%, so the description must compensate, and it largely does: all three parameters are named with meaning, including the default 'comp1', the sentinel values "" and "global", and model=None meaning the current model. What is left implicit is how component="global" interacts with include_global (whether the flag is then redundant).

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 states a specific verb and resource ('List the materials of a component') and adds the optional global-materials scope, which is enough to grasp the operation. It never distinguishes itself from the nearby mat_library_list sibling, so an agent could still hesitate between the component's materials and the library catalog.

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 Args block implies usage through parameter effects (component="" or "global" lists only globals), which effectively tells the agent how to get each variant. There is no explicit when-to-use statement, no exclusion against mat_library_list or mat_get_selection, and no prerequisites mentioned.

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