Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

report_add_content

Adds plot, mesh, table, text, or other content nodes to a COMSOL report section and links them to existing model nodes via noderef.

Instructions

Add a content node (plot, mesh, table, text, ...) inside a Section.

Content nodes reference existing model nodes through their noderef property (verified live: PlotGroup, Mesh, Geometry, Physics, Study, Parameter, Table, DerivedValues all accept noderef).

Args: report: report tag. section: target section tag (see report_add_section). content_type: PlotGroup (e.g. insert a rendered plot) | Table | DerivedValues | Mesh | Geometry | Physics | Study | Parameter | Graphics | Heading | Text | StringDataField | DataSet | Material | Model | Variables | Functions. tag: content node tag (auto when omitted). noderef: tag of the referenced node inside the model, e.g. "pg1" for a PlotGroup, "mesh1" for Mesh, "geom1" for Geometry, "ht" for Physics, "std1" for Study. text: text content for Text nodes (sets the text property). properties: extra properties to set on the content node (e.g. {"caption": "Temperature", "imagetype": "png"}). model: model name/tag (None = current model).

Returns: {"tag", "label", "type", "report", "section", "noderef"}.

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_add_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
textNo
modelNo
reportNorpt1
noderefNo
sectionNosec1
propertiesNo
content_typeNoPlotGroup

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. It discloses the return fields and explains that content nodes reference existing model nodes via noderef, but it does not describe permissions, duplicate-tag behavior, error handling, or mutation side effects.

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?

The description is structured with a clear summary followed by Args and Returns sections. Despite covering eight parameters, every sentence is informative and front-loaded, with no wasted wording.

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 complex eight-parameter mutation tool with no annotations and no output schema, the description is mostly complete: it covers purpose, parameter meanings, noderef behavior, and the return payload. It could still be more complete about prerequisites and failure modes, such as what happens if the section does not exist.

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 description compensates by documenting all eight parameters with examples and accepted content_type values. It adds substantial meaning beyond the bare schema, including noderef examples and the purpose of text/properties.

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 description states a specific verb and resource: add a content node inside a Section. It lists the supported content node types and ties them to the report section context, clearly distinguishing this from report_add_section.

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?

It establishes clear context by saying the node is added inside a Section and points to report_add_section for the target section tag. It does not explicitly name when not to use it or contrast it with report_create/report_generate, but the prerequisite context is clear.

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