Skip to main content
Glama
HBPEKING-TKS

COMSOL MCP Server

by HBPEKING-TKS

model_load

Load a COMSOL model from a .mph file. Specify file path and optionally set as the active model.

Instructions

Load a COMSOL model from a .mph file.

Args: file_path: Absolute or relative path to the .mph model file set_current: Whether to set this as the current active model (default: True)

Returns: Model info including name, file path, and version, or error message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
set_currentNo
Behavior3/5

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

Describes return value (model info or error message) and the set_current parameter effect, but does not disclose side effects, dependencies, or whether it overwrites existing models. No annotations provided, so description carries the burden but is only partially complete.

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?

Concise, front-loaded summary, with clear Args and Returns sections. Every sentence is necessary and no redundancy.

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 load operation, it covers key aspects: parameters, return value. Could mention prerequisite of an active COM connection (comsol_connect) and potential error states, but overall adequate.

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?

Provides meaningful descriptions for both parameters beyond the input schema (which had only titles): explains file_path as absolute/relative path to .mph file, and set_current as whether to set as current active model with its default. Schema coverage was 0%, so description fully compensates.

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?

Clear verb 'Load' and resource 'COMSOL model' with source '.mph file'. Distinct from siblings like model_create and model_clone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool vs alternatives like model_create or model_clone. Does not mention prerequisites (e.g., need an active COM connection from comsol_connect).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HBPEKING-TKS/mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server