Skip to main content
Glama

comsol_geometry

Manage COMSOL geometry features by creating, updating, listing, deleting, and rebuilding 2D/3D blocks, cylinders, spheres, imports, and Boolean operations; auto-creates missing components.

Instructions

通用几何工具。action=list 列出现有几何和特征;create 新建特征(feature_type 如 Block/Cylinder/Sphere/Rectangle/Circle/Import/Union/Difference);update 改属性;delete 删除特征;run 重建几何。properties 是属性字典,如 {"size": ["0.1","0.1","0.1"], "pos": ["0","0","0"]}。模型没有组件/几何时会自动创建(dimension 指定 2 或 3)。

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

Input Schema

NameRequiredDescriptionDefault
tagNo
actionNolist
geometryNo
componentNo
dimensionNo
propertiesNo
feature_typeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.5

TDQS

A3.6/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 burden. It usefully discloses a non-obvious side effect: a missing component/geometry is auto-created, with dimension selecting 2D or 3D. However, it does not state whether delete is irreversible, whether 'run' rebuild invalidates existing mesh/physics features, or what permissions/state are required — significant gaps for a mutation-capable 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 action dispatch is front-loaded as a compact semicolon-separated list, followed by the properties example and the auto-creation note. Nearly every clause carries information; only the leading '通用几何工具' is filler.

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?

An output schema exists so return values need not be described, and the description covers the action vocabulary, the properties shape, and the auto-create fallback. The remaining gap is the semantics of tag/component/geometry and the downstream consequences of delete/run for a 7-parameter tool, but overall it is usable as written.

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. It explains action values, feature_type examples, the structure of the properties dict with a concrete example, and the meaning of dimension. But tag, geometry, and component are never mentioned, leaving three of seven parameters entirely opaque.

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 names the resource ('通用几何工具') and explicitly enumerates the action modes (list/create/update/delete/run) plus the feature_type values it accepts. An agent can immediately tell this is the geometry-construction tool rather than mesh, physics, or selection. It stops short of naming a sibling tool, but the verb/resource pairing is specific.

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?

Each action string is mapped to a concrete operation ('list 列出现有几何和特征', 'create 新建特征', 'update 改属性', 'delete 删除特征', 'run 重建几何'), which functions as clear when-to-use guidance for each mode. There is no explicit exclusion or pointer to an alternative sibling for overlapping tasks, which keeps it from a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.