Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

library_search

Search the installed COMSOL model library by keywords, physics, study type, module, or dimension to find suitable models, then use returned IDs to describe or load them.

Instructions

Search the installed COMSOL model library (keyword + physics/study filters).

Results are scored against title, physics interfaces, study steps, module and category. Use the returned id with library_describe/library_load.

Args: query: keywords matched against model title/physics/studies/path, e.g. "heat transfer", "conjugate heat transfer pipe", "eigenfrequency tuning fork", "brownian particle". physics: physics interface filter, e.g. "HeatTransfer", "SolidMechanics", "LaminarFlow", "Electrostatics" (substring, case-insensitive). study_type: study step filter: "Stationary", "Transient", "Frequency", "Eigenfrequency", "Parametric", "RayTracing", ... quick_only: only models expected to run in < 60 s (or < 10 MB when the stored run time is unknown). Default True; set False to include heavy models. module: optional module folder filter (e.g. "Heat_Transfer_Module"). dimension: optional "1D"/"2D"/"3D" filter. limit: maximum results (1-500, default 50).

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": "library_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
moduleNo
physicsNo
dimensionNo
quick_onlyNo
study_typeNo

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?

No annotations are supplied, so the description carries the full burden, and it does disclose real behavior: ranking is scored against title/physics interfaces/study steps/module/category, and quick_only has a concrete threshold (<60 s or <10 MB when stored run time is unknown). Gaps remain around result ordering guarantees, pagination, and the shape of returned records beyond the id.

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?

Purpose and ranking are front-loaded, then parameters are grouped in a tight Args block with no filler. The quick_only parenthetical is dense but each clause still carries decision-relevant information.

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 seven-parameter, zero-annotation tool with no output schema, the definition covers filtering semantics, ranking, defaults, and next steps well. It stops short of describing the returned fields or result paging, which an agent would need to chain calls confidently.

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 so for all seven parameters with meaning, matching semantics (substring, case-insensitive for physics), example values, defaults, and the 1-500 range on limit. This adds far more than the bare types in the schema.

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?

The opening sentence gives a specific verb (search) and resource (installed COMSOL model library) plus the two filtering axes, and the second sentence explains how results are ranked. Combined with the explicit hand-off to library_describe/library_load, an agent can tell what this tool is for without inspecting 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?

It states the workflow explicitly (use the returned id with library_describe/library_load) and gives concrete query phrasings and filter values, plus a clear rule for quick_only (default True; set False to include heavy models). It never names in-library alternatives such as library_list or mat_library_search, so routing between sibling search tools is left to inference.

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