Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

mat_properties

Reads all property groups and property values of a COMSOL material, refreshing library links first to show the real library values.

Instructions

Read all property groups and property values of a material.

For library materials the library link is refreshed (reload()) first so the real library values are shown.

Args: tag: material tag, e.g. "mat1" (see mat_list). component: component tag (default "comp1"); "" or "global" for global materials. group: read only this property group tag ("def", "Enu", ...). include_descriptions: include COMSOL's per-property descriptions (localized to the COMSOL installation language). model: model name/tag (None = current model). Example: mat_properties(tag="mat1", group="def") -> properties.thermalconductivity = "400[W/(m*K)]", density = "8960[kg/m^3]"

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": {
      "tag": "<tag>"
    },
    "name": "mat_properties"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYes
groupNo
modelNo
componentNocomp1
include_descriptionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/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 disclose a genuinely non-obvious side effect: for library materials the library link is refreshed via reload() first so real library values are shown. It also notes that include_descriptions are localized to the COMSOL installation language. It does not state error behavior for invalid tags or note that the operation is non-mutating beyond what 'Read' implies.

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?

Front-loaded with the purpose sentence, then structured Args and a short Example. The example earns its place because there is no output schema and it demonstrates the return shape, though the wording is slightly verbose for a read tool.

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?

No output schema exists, so the example return ('properties.thermalconductivity = "400[W/(m*K)]"') usefully indicates the response form, and the library-reload caveat covers the main surprise. Remaining gaps are minor: no error/empty-result behavior and no explicit statement about read-only nature.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description fully compensates by documenting all five parameters: tag with an example, component with the '""'/'global' sentinel, group with tag examples ('def','Enu'), include_descriptions' localization semantics, and model's None=current default. This adds meaning the schema's bare titles and defaults do not convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Read all property groups and property values of a material') with clear scope, and the read framing plus the reference to 'mat_list' for tags distinguishes it from the sibling mutation tools such as mat_set_property. An agent can identify it without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implicit but well-supported: arg docs say component '"" or "global" for global materials', group restricts to one property group, and model defaults to 'current model'. It does not explicitly say when to prefer it over alternatives or what happens when the material is not a library material, so it stops short of a 5.

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