Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

report_create

Create a COMSOL report node and configure its type, template, format, and optional title so you can add sections and generate HTML or DOCX output.

Instructions

Create a report feature and configure its output template/format.

COMSOL 6.4 facts discovered live: the template property accepts only "default" or "custom" (the old brief/intermediate/ complete names are NOT valid), and a Report supports only format = html or docx (PDF is not available through the clientapi). Add content with report_add_section / report_add_content, then write the file with report_generate.

Args: tag: report tag (default "rpt1"). report_type: Report (default) | Presentation | Template. template: "default" (default) or "custom" (with an imported template file). Ignored for Presentation/Template nodes. format: html (default) | docx for Report; Presentation uses pptx. Can be overridden in report_generate. title: optional title; creates a TitlePage content node carrying it. model: model name/tag (None = current model).

Returns: {"tag", "label", "type", "format", "template", "title_node"}.

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

Input Schema

NameRequiredDescriptionDefault
tagNorpt1
modelNo
titleNo
formatNohtml
templateNodefault
report_typeNoReport

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

No annotations exist, so the description carries the full behavioral burden and does substantial work: it pins the legal enum values for template ("default"/"custom") and format (html/docx), warns that PDF is unavailable, notes template is ignored for Presentation/Template nodes, and discloses that title spawns a TitlePage content node as a side effect. It does not say whether an existing tag is overwritten or errors, which is the main missing behavioral fact for a create operation.

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?

Front-loaded one-line purpose, then constraint facts that prevent invalid calls, then an Args block matching the six schema properties, then a compact Returns line. The version-specific facts (6.4 enums, no PDF) are dense rather than padded, and nothing is repeated except a brief format cross-reference to report_generate that adds real meaning.

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 six-parameter, default-heavy create tool with no annotations and no output schema, the description covers purpose, valid values, side effects, workflow position, and even the returned keys. What remains uncovered is error/collision behavior for a reused tag and any permission or licensing precondition, so it is strong but not exhaustive.

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% and the schema exposes no enums, yet the description documents all six parameters: tag default, report_type variants (Report/Presentation/Template), template values and its no-op case, format values per type, title's side effect, and model=None meaning current model. This is exactly the compensation the low schema coverage requires.

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?

States a specific verb+resource pair ("Create a report feature and configure its output template/format") and immediately distinguishes the role from siblings by declaring that content comes from report_add_section/report_add_content and the file is written by report_generate. An agent can tell this is the setup step, not the authoring or export step.

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?

Explicitly routes the agent through the workflow: create here, add content with report_add_section/report_add_content, then write with report_generate. Also gives the condition that format can be overridden at report_generate time. It lacks a 'when-not' clause (e.g. what happens if the tag already exists, or whether report_list should be checked first), which keeps it just below a 5.

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