Skip to main content
Glama

calc_flash_isothermal_ideal_vapor_ideal_liquid

Calculate vapor-liquid equilibrium compositions at a constant temperature, finding the phase split and component distribution for an ideal mixture.

Instructions

The Flash Isothermal (FI) calculation determines the phase equilibrium of a liquid mixture at a constant temperature, calculating the vapor and liquid phase compositions. It is used to find the equilibrium state of a mixture at a specified temperature.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pressureYesPressure of the system
componentsYesList of components with their properties
temperatureYesTemperature of the system

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral disclosure burden. It mentions constant-temperature equilibrium and vapor/liquid compositions, but it omits important behavioral traits such as the ideal vapor/ideal liquid assumption, the role of pressure as an input, and behavior when no two-phase equilibrium exists.

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 short and front-loaded with the core calculation outcome. The second sentence largely restates the first, adding limited new information, so there is mild redundancy but no major structural problem.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite full schema coverage and an output schema, the description is thin for a thermodynamic flash calculation. It does not clarify how it differs from sibling bubble/dew calculations, does not state the ideal-model assumptions, and omits the pressure condition that is central to selecting and invoking this tool correctly.

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 100%, so the schema already documents components, temperature, and pressure. The description adds no parameter-level meaning beyond naming the specified temperature, so it earns the baseline score without exceeding it.

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 identifies a specific calculation type, Flash Isothermal, and states that it determines phase equilibrium and vapor/liquid compositions. It is clear about the resource being calculated, but it does not explicitly contrast itself with the sibling bubble/dew calculations, so it lacks explicit sibling differentiation.

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 the tool is used to find the equilibrium state at a specified temperature, giving some usage context. However, it does not mention when to choose this over bubble or dew pressure/temperature calculations, nor does it state any exclusions or prerequisites.

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