Skip to main content
Glama

physics_setup_flow_boundaries

Configure inlet velocity and outlet pressure boundary conditions for single-phase laminar or k-epsilon fluid flow simulations; add turbulence intensity and length scale when setting turbulent inlets.

Instructions

Set 6.4 single-phase laminar or k-epsilon inlet/outlet boundaries. Turbulent inlets require explicit dimensionless intensity and length scale. Creation is not a solver or physical-validation result.

This tool configures inlet velocity and outlet pressure boundary conditions for a fluid flow simulation.

Args: physics_name: Name of the Laminar Flow physics interface inlet_boundaries: List of boundary numbers for inlets outlet_boundaries: List of boundary numbers for outlets inlet_velocity: Inlet velocity expression (default: "1[mm/s]") outlet_pressure: Outlet pressure expression (default: "0") model_name: Model name (default: current model)

Returns: Configuration confirmation

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "physics_name": "<physics_name>",
      "inlet_boundaries": "<inlet_boundaries>",
      "outlet_boundaries": "<outlet_boundaries>"
    },
    "name": "physics_setup_flow_boundaries"
  }
}

Input Schema

NameRequiredDescriptionDefault
model_nameNo
physics_nameYes
inlet_velocityNo1[mm/s]
outlet_pressureNo0[Pa]
inlet_boundariesYes
outlet_boundariesYes
turbulence_intensityNo
turbulence_length_scaleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It does valuable work by clarifying the tool only creates configuration and does not run a solver or perform physical validation, and by flagging that turbulent inlets need extra parameters. It does not say whether existing boundary conditions are overwritten, what permissions or model state are required, or whether the operation is idempotent.

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?

Constraints and caveats are front-loaded in the first three lines, before the Args block, which is the right ordering for an agent scanning for preconditions. The prose sentence restating the opening line is mild redundancy, and 'Returns: Configuration confirmation' conveys almost nothing.

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 an 8-parameter mutation tool with no annotations and no output schema, most call-critical information is present, but key behavioral gaps remain: no statement of what happens to pre-existing boundary settings, no prerequisite that the physics interface must already exist, and no format detail for the turbulence strings beyond 'dimensionless'.

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 largely does: it identifies inlet_boundaries/outlet_boundaries as lists of boundary numbers (not names), labels physics_name as the Laminar Flow interface name, and ties turbulence_intensity/turbulence_length_scale to turbulent inlets as dimensionless quantities. The two turbulence parameters are absent from the Args list and their expected format is only implied, which keeps this below a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Set ... inlet/outlet boundaries' and 'configures inlet velocity and outlet pressure boundary conditions for a fluid flow simulation'. The 'single-phase laminar or k-epsilon' qualifier cleanly separates it from the sibling heat, acoustic, and PDE boundary tools without needing to name them.

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?

'Turbulent inlets require explicit dimensionless intensity and length scale' is a genuine conditional rule for correct invocation, and 'Creation is not a solver or physical-validation result' sets expectations. However, there is no guidance on when to choose this versus physics_interactive_setup_flow or physics_configure_boundary, and no stated prerequisites such as an existing laminar/k-epsilon physics interface.

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