Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

geom_get_properties

Retrieve all properties and value types of a COMSOL geometry feature; optionally include allowed values to validate enum settings.

Instructions

Return all properties of a geometry feature (with value types).

Args: tag: feature tag (e.g. "blk1"). include_allowed: include allowed values (validates enums such as "on"/"off"). geometry: geometry sequence tag (default "geom1"). model: model name/tag (None = current model).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tag": "<tag>"
    },
    "name": "geom_get_properties"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYes
modelNo
geometryNogeom1
include_allowedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses that the return includes value types and that include_allowed triggers enum validation, which is useful behavioral context, but it says nothing about failure modes for an unknown tag, whether the call is side-effect free, or how large the returned property set can be.

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 purpose is front-loaded in one sentence, followed by a compact Args block with no filler. Every line contributes a fact an agent needs.

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?

With four parameters, no annotations, and no output schema, the definition covers inputs adequately but leaves the return shape vague beyond 'properties with value types'. An agent still cannot tell what keys or nesting to expect from the response.

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 description coverage is 0%, so the description must compensate, and it does: every one of the four parameters is explained, including a concrete tag example ('blk1'), the meaning of include_allowed, and the 'None = current model' convention. Only the tag format for non-block features is left ambiguous.

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 first sentence names a specific verb and resource: 'Return all properties of a geometry feature (with value types)'. That is enough to separate it from the mutating sibling geom_set_properties, though the description never names the alternative explicitly.

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 when-to-use or when-not-to-use guidance, no prerequisites, and no mention of alternatives such as geom_entity_info or geom_bbox. The only usage hint is that include_allowed 'validates enums', which is a parameter detail rather than routing 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