Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

library_describe

Retrieve full metadata—physics, studies, documentation, and cost—for a COMSOL library model by ID, model stem, or .mph path to inspect and select the right model.

Instructions

Full metadata for one library model: physics, studies, documentation, cost.

Args: id_or_path: library id from library_search/library_list (e.g. "Heat_Transfer_Module/Tutorials,_Conduction/heat_conduction_in_slab"), a unique model stem, or an absolute path to any .mph file.

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

Input Schema

NameRequiredDescriptionDefault
id_or_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/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. It discloses the returned content categories, which is genuinely useful, but says nothing about whether reading is side-effect free, whether an .mph path triggers a file read/license check, or how an ambiguous 'unique model stem' is resolved.

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?

One dense lead sentence front-loads the purpose, followed by a compact Args block with the critical parameter detail. The docstring-style formatting is slightly informal but every line carries information; no filler.

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 single-parameter, read-style lookup with no output schema, the description does the key work by listing the returned sections, which partly substitutes for the missing schema. It would be complete with a note on the response shape and on error behavior for unmatched or ambiguous identifiers.

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 do all the work — and it does, spelling out three accepted input forms (library id, unique model stem, absolute .mph path) and giving a concrete example id. The only soft spot is what happens when a stem is not unique, but the accepted formats are otherwise fully clear.

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 line gives a specific verb-and-resource combination — 'Full metadata for one library model' — and enumerates the payload (physics, studies, documentation, cost). 'One' plus the id-based parameter makes it clearly distinct from the bulk siblings library_search and library_list, which locate models rather than describe a single one.

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 only implied: the Args block states the id comes from 'library_search/library_list', which sketches a search-then-describe workflow. There is no explicit when-to-use statement and no exclusion against related tools such as model_describe, so the agent must infer the boundary itself.

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