Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

study_log

Retrieve machine-readable computation timing, solver-sequence messages, solution statistics, and model problems for a COMSOL study when textual solver logs are unavailable.

Instructions

Computation timing / solver messages / solution statistics for a study.

COMSOL 6.4's client API does not expose the textual solver log; this returns the machine-readable substitute: last computation time/date/ version, expected computation time, per-solver-sequence warning/error/ information messages, stored solution numbers/levels, and model problems.

Args: study: study tag (None = the only study in the model). model: model name/tag (None = current model).

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

Input Schema

NameRequiredDescriptionDefault
modelNo
studyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses the COMSOL 6.4 API limitation (no textual solver log) and specifies the substitute payload, including per-solver-sequence warning/error/information messages, stored solution numbers/levels, and model problems. It stops short of stating read-only safety explicitly or noting behavior when the study has never been solved.

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 with the purpose sentence, followed by a justification paragraph and a clean Args block; every sentence adds information. Minor verbosity in the middle paragraph, but nothing is wasted.

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?

With no output schema and no annotations, the description compensates by enumerating return contents and explaining both parameters' null defaults. It is nearly complete for a two-parameter read tool, lacking only an explicit statement of side effects or behaviour for unsolved studies.

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 does: it explains that study is a study tag with None meaning the only study in the model, and model is a name/tag with None meaning the current model. This resolves the main ambiguity (null semantics) that the bare schema leaves open, though it does not give tag format examples.

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 first sentence names a specific resource and enumerates exactly what is returned: computation timing, solver messages, and solution statistics for a study. The second sentence further scopes it by explaining it is the machine-readable substitute for a textual solver log, which separates it from configuration tools like study_properties or study_list.

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 implied rather than stated: the agent can infer this is the tool to call for post-solve diagnostics, but there is no explicit when-to-use versus siblings (e.g., study_solve, study_steps) and no prerequisites or when-not guidance. The default-resolution notes for both args are the closest thing to selection guidance.

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