Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

function_list

Lists global functions with their types and expressions, optionally for a specified model, to inspect function definitions before building or evaluating a COMSOL model.

Instructions

List global functions with their types and expressions.

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

Input Schema

NameRequiredDescriptionDefault
modelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a read (via 'List') but says nothing about whether listing is filtered by the current model, whether it is paginated or truncated, or what permissions are needed; 'types and expressions' is the only hint about output content.

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?

A single front-loaded sentence with no filler, and the scope word 'global' is placed early. It is lean to the point of under-specification, but nothing is wasted or buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only listing tool with no annotations and no output schema, the description is too thin: it leaves the 'model' argument unexplained and does not clarify the relationship between 'global' functions and model-scoped ones. What an agent needs to call it correctly is only partially covered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single optional 'model' parameter, so the description needed to explain its meaning and it does not. An agent cannot tell whether 'model' narrows the listing to a model's functions or is merely a context selector.

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?

The description gives a specific verb plus resource ('List global functions') and even names the returned fields (types and expressions), so an agent knows exactly what it retrieves. It does not explicitly contrast itself with function_create or function_remove, but 'list' versus those names is unambiguous enough in practice.

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?

There is no statement of when to call this versus related tools, no mention of prerequisites, and no exclusions. The word 'global' hints at scope but the agent must infer whether it also covers model-scoped functions.

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