Skip to main content
Glama

geometry_add_block

Adds a rectangular cuboid block to a COMSOL geometry using specified position and dimensions, enabling creation of box-shaped geometry features for modeling.

Instructions

Add a block (rectangular cuboid) to the geometry.

Args: position: Base position [x, y, z] in meters (default: origin) size: Dimensions [width, depth, height] in meters (default: 1m cube) geometry_name: Geometry sequence name (default: first geometry) component_name: Component name (default: 'comp1') feature_name: Feature name (auto-generated if None) model_name: Model name (default: current model)

Returns: Created block info

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

Input Schema

NameRequiredDescriptionDefault
sizeNo
positionNo
model_nameNo
feature_nameNo
geometry_nameNo
component_nameNocomp1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden, and it only says the tool adds a block and returns 'Created block info'. It does not state that this mutates the model tree, whether the geometry must be built/committed afterward, whether an existing feature with the same name is overwritten, or what errors occur without a model.

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 sentence is front-loaded and the Args block is scannable and largely free of filler. The 'Returns: Created block info' line is a vague stub that adds little, but nothing else is wasted.

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 six-parameter mutation tool with no annotations and no output schema, the definition covers the inputs adequately but omits statefulness and sequencing information an agent needs (model/geometry must already exist, whether geometry_build is required afterward). It is minimally sufficient rather than complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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 partly does: it gives units (meters) and clarifies array ordering for both position [x, y, z] and size [width, depth, height], plus default behavior for geometry_name, component_name, and feature_name. However, it leaves the interaction between component_name and feature_name, and the meaning of 'current model' vs a named model, unexplained.

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 description states a concrete verb and resource ('Add a block (rectangular cuboid) to the geometry') and the parenthetical disambiguates the shape from siblings like geometry_add_rectangle or geometry_add_sphere. It does not explicitly say how it differs from those siblings beyond shape naming, which keeps it just short of a 5.

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 guidance on when to choose a block over a rectangle, cylinder, or sphere, and no mention of prerequisites such as an existing model/geometry sequence or an active COMSOL connection. The defaults imply a usable bare call, but the agent gets no routing or precondition advice.

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