Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

result_table_create

Create a COMSOL result table with optional column headers and numeric rows, enabling evaluation features or explicit data to populate it.

Instructions

Create a result table, optionally with column headers and numeric rows.

Tables are normally filled by evaluation features: pass the table tag to result_integrate/result_average/result_minmax (table="tbl1"). This tool also allows creating a table with explicit data.

Args: tag: table tag (None = auto "tblN"). headers: column headers, e.g. ["t", "T_avg"] (units may be appended in parentheses like "T (K)"). rows: numeric rows, e.g. [[0, 293.15], [1, 310.2]]. 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": "result_table_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
rowsNo
modelNo
headersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose useful traits beyond the schema: tag auto-generation as 'tblN', units allowed in parentheses inside headers, and model defaulting to the current model. It does not say what happens if the tag already exists (overwrite vs. error), whether the table persists, or what the call returns — meaningful gaps for a creation tool.

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?

The purpose is front-loaded in the first sentence and the routing hint follows immediately; the Args block is justified because the schema has zero description coverage. Minor redundancy remains (restating 'table tag' and the parenthetical examples), but nothing is wasted or buried.

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

Completeness3/5

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

For a four-parameter, zero-annotation, no-output-schema constructor, the definition covers input format and defaults well but leaves the outcome unspecified — no mention of the return value, failure modes, or duplicate-tag behavior. Given that no output schema exists to explain results, that gap is the main incompleteness.

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 largely does: all four parameters are documented with defaults (tag=None auto 'tblN', model=None current model) plus concrete examples for headers (['t', 'T_avg'], unit suffix like 'T (K)') and rows ([[0, 293.15], [1, 310.2]]). The one missing semantic is the relationship between headers and rows — whether their lengths and order must correspond.

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 opens with a specific verb and resource ('Create a result table') and immediately qualifies the two optional payloads (headers, numeric rows). It also names the evaluation features that normally populate tables (result_integrate/result_average/result_minmax), so an agent can distinguish this explicit-data constructor from both those siblings and the read-side tools.

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 gives clear routing context: tables are 'normally filled by evaluation features' by passing the table tag, and this tool exists for the case where explicit data is supplied. That is a usable when-to-use signal with named alternatives, though it stops short of stating an explicit exclusion or prerequisite (e.g., whether the tag must not already exist).

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