Skip to main content
Glama
wjc9011
by wjc9011

physics_boundary_selection

Configure boundary conditions in COMSOL by selecting a physics interface, condition type, boundary numbers, and required properties for simulation setup.

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):

  • Temperature: Set T0 (temperature)

  • HeatFlux: 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 or label 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
model_nameNo
propertiesNo
physics_nameYes
boundary_numbersYes
boundary_condition_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden and largely fails to. It does not say whether applying a condition overwrites existing boundary settings, whether a model must be loaded/current first, whether it is destructive or idempotent, or how errors are surfaced; 'Returns: Configuration confirmation' is the only behavioral statement and is thin.

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?

Well front-loaded with the purpose sentence, then numbered usage and grouped examples. It is somewhat long, but the per-physics property tables earn their space because those keys are otherwise undiscoverable. Minimal filler.

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 generic, unannotated mutation tool with no output schema and five parameters, the parameter and property-key coverage is good, but the description omits the two things an agent most needs: how this generic tool relates to the specific boundary siblings, and its side effects on existing boundary selections.

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 coverage is 0%, so the description must compensate, and it does: it documents all five parameters (physics_name, boundary_condition_type, boundary_numbers, properties, model_name) and, critically, names the concrete property keys per boundary type (T0, q0, h/Text, U0, p0, Fx/Fy/Fz), which the bare 'additionalProperties: true' schema cannot convey.

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 specific verb and resource ('configure any boundary condition') and frames itself as the generic boundary-setup tool, which is a meaningful claim of scope. However, it never distinguishes itself from the many similar siblings (physics_configure_boundary, physics_setup_flow_boundaries, physics_setup_heat_boundaries, physics_setup_pde_boundaries, physics_configure_acoustic_boundary), so an agent cannot tell from the text alone which of these to pick.

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?

It gives a concrete 'use this tool by specifying 1-4' recipe and enumerates BC types per physics module, which is implied guidance on how to use it. But there is no when-to-use-this-vs-alternative guidance and no exclusions, despite a crowded sibling set of boundary-configuration tools.

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