Skip to main content
Glama

fsi_interface_balance

Checks whether a partitioned FSI solve conserves load across the coupling interface: compares fluid pressure force to solid reaction and returns the relative residual.

Instructions

Partitioned wet-interface force balance (NO solver) — the FSI analogue of the optics energy-balance gate. The fluid presses a uniform pressure_pa over the length_mm×width_mm strip, so the total traction is F = pressure·area; a converged partitioned solve must hand the solid exactly this load and the solid's support reactions must carry it (Newton's third law across the coupling surface). Pass the measured fluid_force_n (∮p·dA over the OpenFOAM wet patch) and/or solid_reaction_n (Σ ccx reaction at the clamp); the relative residual |F_fluid − R_solid|/F_fluid is the conservation error. With neither supplied it returns the reference analytic load (residual 0) the real solve closes on.

Returns {area_mm2, reference_load_n, fluid_force_n, solid_reaction_n, residual_n, relative_residual, balanced, fidelity, escalate_to}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
width_mmYes
length_mmYes
pressure_paYes
fluid_force_nNo
solid_reaction_nNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

No annotations, so this description carries the full load; it does so well by spelling out the physics (Newton's third law across the coupling surface), the residual definition, and the no-input fallback behavior. It stops short of stating auth/prereq requirements or whether the returned balanced/escalate_to fields gate downstream steps.

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?

Front-loaded with the core identity, then the physics, then the residual definition, then the no-input fallback, then the return shape. Necessary content, but dense prose and a symbol-heavy formula could be tightened; sentences are not wasteful but are not crisp either.

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?

For a solver-less gate tool with no output schema and no annotations, the description supplies the missing contract: what the return fields mean (area, reference load, fluid force, solid reaction, residual, relative residual, balanced, fidelity, escalate_to) and the physics rationale. It leaves minor gaps (units for inputs, when balanced/escalate_to should trigger action) but is otherwise sufficient.

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. It names each parameter's meaning: pressure_pa times length_mm×width_mm gives the reference load, fluid_force_n is ∮p·dA over the OpenFOAM wet patch, solid_reaction_n is Σ ccx reaction at the clamp. That covers all five parameters, though units/definitions for pressure/length/width are only implied.

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?

States a specific verb+resource: a partitioned wet-interface force balance with no solver. It names the solids coupling and the exact conservation quantity (F = pressure·area). It distinguishes itself from other fsi_* siblings only implicitly through the 'NO solver' framing and the return set.

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?

Explains how the tool is used: pass fluid_force_n and/or solid_reaction_n to close the balance; with neither supplied it returns the reference analytic load. That's clear context for the intended workflow, but it doesn't name an alternative (e.g., fsi_plate_deflection, fsi_channel_pressure) or explicitly state when to choose this gate over a full solve.

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