Skip to main content
Glama

geometry_add_cylinder

Adds a cylinder to a COMSOL geometry by specifying its base center, radius, and height, with optional component, geometry, feature, and model names.

Instructions

Add a cylinder to the geometry.

Args: position: Center of base [x, y, z] in meters radius: Radius in meters (default: 0.5) height: Height in meters (default: 1.0) 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 cylinder 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_cylinder"
  }
}

Input Schema

NameRequiredDescriptionDefault
heightNo
radiusNo
positionNo
model_nameNo
feature_nameNo
geometry_nameNo
component_nameNocomp1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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 behavioral load; it does disclose that this is a creation operation, that dimensions are in meters, that every argument has a default, and that it returns created cylinder info. It does not state what happens to the model state, whether the feature persists in the geometry sequence, whether a connection is required first, or how failures surface. Vague return copy ('Created cylinder info') adds little.

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 one-line purpose is front-loaded and the Args block is a clean per-parameter list with no filler. The Returns line is the only thin wording. Structure is standard and scannable for an agent parsing parameter meaning.

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 seven-parameter mutation tool with no annotations and no output schema, the definition covers parameters well but leaves behavioral and prerequisite context thin - no model/geometry/component hierarchy explanation, no failure behavior, and only a stub return description. It is adequate to invoke but not complete enough to predict effects.

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 documents all seven parameters with meaning and defaults - notably clarifying that position is the center of the base as [x, y, z] in meters, which the schema never says. It does not explain the cylinder's axis orientation, nor that height/radius accept string expressions despite the anyOf string typing.

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 opens with a specific verb and resource: 'Add a cylinder to the geometry.' That distinguishes it from shape siblings such as geometry_add_block, geometry_add_sphere, and geometry_add_circle without needing the schema. It stops short of a 5 because it does not state scale or context (2D vs 3D, which geometry container it lands in) beyond the parameter defaults.

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 and no mention of alternatives, such as preferring geometry_add_circle for 2D cases or using geometry_import_cad when the solid already exists. Usage is only implied by the tool name and the one-line purpose. Prerequisites, like an active model or an existing geometry sequence, are only hinted at through the geometry_name default.

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