Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

mat_library_list

List COMSOL material libraries or browse and filter materials in a selected library from an offline catalog, without requiring a running COMSOL session.

Instructions

List material libraries, or the materials of one library.

The catalog is built offline from the COMSOL installation (3141 materials in 19 libraries for COMSOL 6.4) and needs no running COMSOL session.

Args: library: library id or label, e.g. "comsol_basic_material_lib" or "Built-in" / "Fluids" / "AC/DC" / "Optical". Omit to list libraries. category: optional category filter (e.g. "Gases", "Liquids", "Rare earth permanent magnets") when listing materials. query: optional name/tag substring filter. limit: maximum number of materials to return (default 100, max 1000). offset: pagination offset. Returns: {"libraries": [...]} when no library is given, otherwise {"library": ..., "total": N, "materials": [{name, path, category, ...}]}.

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_library_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
offsetNo
libraryNo
categoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses that the catalog is built offline from the COMSOL installation (3141 materials in 19 libraries for COMSOL 6.4) and needs no running COMSOL session, which is a critical operational fact. It also states pagination defaults and caps (default 100, max 1000). It never explicitly states that the operation is read-only and non-destructive, which would be the remaining disclosure gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the one-sentence purpose, then structured Args/Returns blocks. The catalog statistics sentence is long but earns its place by explaining why no COMSOL session is needed. No filler or redundant restatement.

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?

No output schema exists, so the description supplies the return shapes for both modes ({'libraries': [...]} versus {'library', 'total', 'materials'}), which is exactly what an agent needs to consume results. Combined with parameter semantics and the offline-catalog note, nothing material is missing for a five-parameter read tool.

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 coverage is 0%, so the description must compensate entirely, and it does: each of the five parameters is explained with meaning beyond the schema, including value examples for library ('comsol_basic_material_lib', 'Built-in', 'Fluids') and category ('Gases', 'Liquids'), plus the limit default/max and the offset's pagination role.

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?

Opens with a specific verb and resource and explicitly covers both modes: 'List material libraries, or the materials of one library.' An agent immediately knows the tool has a dual listing behavior. It does not name or contrast with the nearby siblings (mat_library_search, mat_library_info, mat_library_categories), so the differentiation is implicit rather than stated.

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?

Gives concrete operational guidance for mode selection: 'Omit to list libraries' versus supplying a library to list its materials, plus what the optional filters do. It stops short of saying when to prefer this over mat_library_search or mat_library_info, so the agent must infer the boundary from names alone.

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