Skip to main content
Glama

physics_boundary_selection

Configure boundary conditions for any physics interface by specifying the condition type, boundary numbers, and related 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?

With no annotations, the description must disclose all behavioral traits. It only states the basic operation and a vague return of 'Configuration confirmation'. It lacks information about side effects (e.g., whether existing conditions are overwritten), required permissions, or error handling, which are critical 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with sections but contains some redundancy (e.g., listing steps and then repeating information in 'Args'). It is moderately concise but could be tightened without losing clarity.

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 lack of output schema and low schema description coverage, the description provides adequate parameter semantics and usage examples. However, it omits details like return value structure, error scenarios, and confirmation of side effects, leaving some gaps for a tool with 5 parameters.

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%, but the description compensates by listing each parameter in the 'Args:' section, providing examples and explaining the usage of 'properties' with specific dictionary keys for different physics. This adds significant value beyond the schema titles.

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 the tool is for 'Generic boundary condition setup with boundary selection' and provides specific examples for different physics interfaces. However, it does not explicitly differentiate from the sibling tool 'physics_configure_boundary', which likely has overlapping functionality.

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 implies usage by listing steps and common boundary condition types per physics, but it does not provide explicit when-to-use or when-not-to-use guidance, nor does it mention alternatives or prerequisites. Usage context is implied but not clarified.

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/Zhangyoupeng1996/Codex_MCP_Comsol'

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