Skip to main content
Glama

control_valve_size_gas

Size a control valve for gas or vapour service per IEC 60534-2-1 using the mass-flow form. Returns required Kv and Cv, pressure-drop ratio x, expansion factor Y and a choked-flow check against Fgamma*xT. Powered by multicalci.com.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xTNoPressure differential ratio factor xT (globe 0.72, ball 0.15)
mass_flow_kghYesGas mass flow rate, kg/h
molecular_weightNoGas molecular weight, g/mol
compressibility_ZNoCompressibility factor Z at inlet
inlet_pressure_baraYesUpstream pressure P1, bar absolute
inlet_temperature_kNoInlet temperature, K
specific_heat_ratioNoRatio of specific heats gamma (Cp/Cv)
outlet_pressure_baraYesDownstream pressure P2, bar absolute

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries full burden. It discloses the outputs (Kv, Cv, x, Y, choked-flow check) and the calculation methodology (mass-flow form, IEC standard), adding meaningful behavioral context. It does not detail limitations or interpretation of the choking check, but overall is transparent for a calculation tool.

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?

The description is concise and front-loaded, with three sentences covering purpose, outputs, and a source credit. The 'Powered by multicalci.com' sentence provides little value for an AI agent, slightly reducing conciseness, but the overall structure is efficient.

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 an 8-parameter tool with no output schema, the description adequately states the return values and the calculation standard. It does not elaborate on edge cases (e.g., choked flow behavior) or interpret the results, but the description is sufficiently complete for invoking the 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 baseline is 3. The description adds no parameter-specific details beyond the schema; it mentions the mass-flow form and outputs but does not elaborate on parameter meanings or relationships, so the schema already carries the weight.

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?

The description clearly states 'Size a control valve for gas or vapour service per IEC 60534-2-1' – a specific verb ('size') with a well-defined resource and scope. It distinguishes from the sibling 'control_valve_size_liquid' by explicitly naming gas/vapour service and specifies the calculation form.

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?

The description provides clear context for gas/vapour service and references the relevant IEC standard, implying when to use it. However, it does not explicitly mention the alternative 'control_valve_size_liquid' or provide explicit exclusion conditions, so it falls short of a full 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool targets a distinct engineering calculation: valve sizing for gas vs liquid, compressibility, NPSH, orifice flow, pipe friction, pump power, steam saturation, and tank volume. There is no functional overlap that would confuse an agent.

Naming Consistency4/5

All tool names use lowercase snake_case and clearly indicate the calculation subject, but there is slight inconsistency in ordering (e.g., control_valve_size_gas vs gas_z_factor_pr) and inclusion of standards/suffixes (pr, iso5167, if97). The pattern is still predictable and readable.

Tool Count5/5

With 9 tools, the server is well-scoped for a specialized engineering calculation toolkit. Each tool serves a distinct purpose without redundancy, and the count is comfortably within the ideal 3-15 range.

Completeness4/5

The toolset covers core fluid handling and thermodynamic calculations (valve sizing, pipe flow, pump selection, steam properties, tank geometry). Minor gaps exist, such as heat exchanger calculations or relief valve sizing, but the provided set covers common process engineering needs without major dead ends.

Resources