Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

mat_library_categories

List material-library categories with material counts, optionally filtered by library, to inspect COMSOL material groups and their sizes.

Instructions

List material-library categories (GUI folders) with material counts.

Args: library: restrict to one library id/label; omit to list all libraries. limit: maximum number of category rows returned. Example: mat_library_categories(library="Fluids") -> Gases (12), Liquids (13)

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

Input Schema

NameRequiredDescriptionDefault
limitNo
libraryNo

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 exist, so the description carries the full load. It does disclose the default scope (omit library = all libraries) and that rows carry counts, but says nothing about permissions, ordering, truncation behavior when limit is hit, or the exact shape of a returned row beyond the example.

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 one-line purpose followed by a compact Args block and a concrete example; nothing is wasted. The docstring scaffolding ('Args:') is slightly heavier than necessary but not harmful.

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?

For a simple two-optional-parameter read tool with no output schema and no annotations, the description supplies purpose, default scoping, parameter meaning, and a sample return. Remaining gaps (ordering, truncation, count semantics) are minor for this complexity level.

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: 'library' is explained as an id/label with omit-to-list-all semantics, and 'limit' as the maximum number of category rows, reinforced by a worked example. It omits the default value (500) and any bounds on limit.

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 ('List') and resource ('material-library categories (GUI folders)') and adds the payload ('material counts'). It is clear on its own, but it never distinguishes itself from near-name siblings such as library_categories or mat_library_list, so an agent must guess which lister to pick.

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 guidance is limited to parameter-level framing: 'restrict to one library id/label; omit to list all libraries.' There is no statement of when to choose this tool over mat_library_list or library_categories, so selection guidance is only implied.

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