Skip to main content
Glama
HBPEKING-TKS

COMSOL MCP Server

by HBPEKING-TKS

physics_boundary_selection

Configure any boundary condition in a COMSOL physics interface by specifying the physics name, boundary condition type, boundary numbers, and properties.

Instructions

Generic boundary condition setup with boundary selection.

Use this tool to configure any boundary condition by specifying:

  1. The physics interface name

  2. The boundary condition type

  3. The boundary numbers to apply the condition to

  4. Properties specific to the boundary condition

Common boundary condition types by physics:

Heat Transfer (ht):

  • TemperatureBoundary: Set T0 (temperature)

  • HeatFluxBoundary: Set q0 (heat flux)

  • ConvectiveHeatFlux: Set h (coefficient), Text (ambient temp)

Laminar Flow (spf):

  • InletBoundary: Set U0 (velocity)

  • OutletBoundary: Set p0 (pressure)

  • Wall: No-slip wall

Solid Mechanics (solid):

  • Fixed: Fixed constraint

  • BoundaryLoad: Set Fx, Fy, Fz or FAx, FAy, FAz

Args: physics_name: Name of the physics interface boundary_condition_type: Type of boundary condition boundary_numbers: List of boundary numbers properties: Dictionary of property names and values model_name: Model name (default: current model)

Returns: Configuration confirmation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
physics_nameYes
boundary_condition_typeYes
boundary_numbersYes
propertiesNo
model_nameNo
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It explains it configures boundary conditions but does not state whether it overwrites existing conditions, requires prerequisites (e.g., physics already added), has side effects, or what 'Configuration confirmation' means. This is insufficient for a mutation 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 description is well-structured with a clear intro, numbered steps, and organized examples by physics type. It is moderately concise, though the examples could be streamlined. Overall, it earns its place without excessive verbosity.

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?

Given the tool's complexity (generic boundary setup, 5 params, no output schema, no annotations), the description covers basic usage but lacks details on modification semantics, error handling, prerequisites, and return value format. It also does not guide when to use this vs. sibling tools. It is adequate but incomplete.

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 adds meaning by explaining the four steps and giving examples for common boundary conditions and their properties. However, it does not fully describe all parameters (e.g., 'physics_name' and 'model_name' have no explanation), and the 'properties' dictionary is only partially illustrated.

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 clearly states it is a generic boundary condition setup tool with boundary selection, specifying physics interface, condition type, and boundary numbers. It provides examples for common physics, but does not explicitly differentiate from sibling tools like physics_configure_boundary, physics_setup_flow_boundaries, etc.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description says 'Use this tool to configure any boundary condition' and lists common types, which implies usage. However, it does not provide when-not-to-use guidance or mention alternatives (e.g., specific setup tools for flow/heat), so the agent lacks clarity on when to prefer this generic tool over siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HBPEKING-TKS/mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server