Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

mat_library_info

Retrieves full offline catalog details for a named library material, including its exact library path, property groups, expressions, material functions, and alternate library matches.

Instructions

Show full offline catalog data for one library material.

Returns the exact library path (<library>.<tag>) used by :func:mat_add, all property groups with their expressions, and the material functions involved (e.g. k(T)), plus alternatives when the name exists in several libraries.

Args: name: material display name ("Copper"), tag ("copper") or full path ("comsol_basic_material_lib.copper"). library: optional library id/label to disambiguate (e.g. "Fluids").

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

Input Schema

NameRequiredDescriptionDefault
nameYes
libraryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the burden and does substantial work: it discloses that data is offline catalog data, that the returned path is the one consumed by mat_add, that property groups come with expressions, and that ambiguous names yield alternatives. It omits failure behavior (e.g., name not found) and does not explicitly state read-only, though 'Show' implies it.

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 core purpose, then return content, then args — a sensible order with no filler sentences. Minor cost from RST markup and cross-reference syntax that add visual noise without informational value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A simple two-parameter read tool with no annotations and no output schema; the description covers purpose, accepted parameter forms, and the shape of the return value, which is everything an agent needs to call it correctly.

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%, so the description must compensate, and it does: 'name' is documented with three accepted forms including concrete examples ('Copper', 'copper', 'comsol_basic_material_lib.copper'), and 'library' is documented as an optional disambiguator with an example ('Fluids'). This adds meaning well beyond the bare schema.

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?

States a specific verb and resource: 'Show full offline catalog data for one library material,' then enumerates what is returned (exact path, property groups, material functions). It is clearly distinct from a listing/search tool in spirit, though it never names mat_library_list or mat_library_search to draw the boundary explicitly.

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 rather than stated: the Args block tells you how to supply a name and an optional library to disambiguate, and the return mentions alternatives when a name exists in several libraries. There is no explicit 'use this when you need the full detail of a single material, use mat_library_search to find one' guidance or any exclusion.

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