Skip to main content
Glama

Engineering Script

MIXTURE

Primary thermodynamic property calculator. Use this tool first for all mixture property calculations. Supports hydrocarbons and non-hydrocarbon chemicals (PR EOS flash calculation).

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": {
      "HC": "<HC>",
      "mole": "<mole>",
      "P": "<P>",
      "T": "<T>"
    },
    "name": "MIXTURE"
  }
}

Input Schema

NameRequiredDescriptionDefault
PYesPressure
TYesTemperature
HCYesComponent list. Supported formulas or names: H2(hydrogen), CH4(methane), C2H2(acetylene), C2H4(ethylene), C2H6(ethane),C3H4(propadiene), C3H6(propene), C3H8(propane), C4H8(isobutylene), C4H10(n-butane), C5H12(pentane), C6H14(hexane), C7H16(heptane), C8H18(octane), C9H20(nonane), C10H22(decane),C11H24(undecane), C12H26(dodecane), C5H12O(MTBE), C6H6(benzene), C7H8(toluene), C8H10(o-xylene), Air, Ar(argon), N2(nitrogen), O2(oxygen), CO(carbon monoxide), CO2(carbon dioxide),H2O(water), HCl(hydrogen chloride), H2S(hydrogen sulfide), NH3(ammonia), NO2(nitrogen dioxide), N2O(nitrous oxide), N2O4(dinitrogen tetroxide), SO2(sulfur dioxide), SO3(sulfur trioxide), NaOH(sodium hydroxide). Names are case-insensitive.Examples: ['CH4','C2H6','C3H8'], ['Methane','Ethane','Propane'], ['methane','ethane','propane']
moleYesMole fractions or mole amounts corresponding to HC. Automatically normalized.
H_unitNoEnthalpy unitkcal/kg
S_unitNoEntropy unitkcal/kg-C
U_unitNoInternal energy U unitkcal/kg
k_unitNoThermal conductivity k unitW/m-K
Cp_unitNoHeat capacity Cp unitkcal/kg-C
Cv_unitNoHeat capacity Cv unitkcal/kg-C
MW_unitNoMolecular weight unitkg/kgmol
mu_unitNoViscosity mu unitcP
rho_unitNoDensity unitkg/m3
Tbub_unitNoBubble point Tbub unitC
Tdew_unitNoDew point Tdew unitC

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses the calculation method (PR EOS flash) and supported chemical classes, but does not state return values, output structure, or limitations. 'Calculator' implies a non-mutating read operation, yet deeper behavioral detail is lacking.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Two tight sentences front-load the primary identifier and usage instruction. Every sentence earns its place: identity, usage priority, and supported scope. No filler or redundancy.

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?

The schema richly documents parameters, but there is no output schema and no annotations. The description conveys tool purpose, method, and chemical scope, yet it does not explicitly describe what properties are returned or any edge cases. Given the 15-parameter complexity, slightly more output guidance would improve completeness, but the current level is minimally viable.

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?

The input schema has 100% descriptive coverage, including detailed component lists, unit enums, and normalization notes. The description adds only high-level context about mixtures and flash calculation, so it does not need to compensate for schema gaps. Baseline 3 is appropriate.

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?

Clearly identifies itself as the 'Primary thermodynamic property calculator' and is explicitly directed to be used first for all mixture property calculations. It specifies the resource (mixture properties), method (PR EOS flash), and supported chemical scope, distinguishing it from the many specialized sibling tools.

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?

Provides explicit usage instruction: 'Use this tool first for all mixture property calculations.' This gives strong context for when to select it. It does not enumerate exclusions or alternatives, but the 'primary/first' framing makes the intended role clear.

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.

Resources