Skip to main content
Glama

Engineering Script

CARBON

Calculate thermodynamic properties of hydrocarbon mixture. 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": "CARBON"
  }
}

Input Schema

NameRequiredDescriptionDefault
PYesPressure
TYesTemperature
HCYesList of component formula strings. Supported: H2, CH4, C2H2, C2H4, C2H6, C3H4, C3H6, C3H8, C4H8, C4H10, C5H12, C6H14, C7H16, C8H18, C9H20, C10H22, C6H6, C7H8, C8H10, C5H12O, Air, Ar, N2, O2, CO, CO2, H2O, H2S, NH3, SO2, SO3, HCl, NO2, N2O, N2O4, NaOH, N2O4
moleYesMole fraction list corresponding to HC, e.g. [0.85, 0.10, 0.03, 0.02]
H_unitNoEnthalpy unitkcal/kg
S_unitNoEntropy unitkcal/kg-C
Cp_unitNoCp unitkcal/kg-C
Cv_unitNoCv unitkcal/kg-C
rho_unitNoDensity unitkg/m3
Tbub_unitNoBubble point temperature unitC
Tdew_unitNoDew point temperature unitC

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It states the calculation nature and the PR EOS flash method, which gives some insight into the calculation behavior. However, it does not disclose the output format, potential errors, or any assumptions about the input state (e.g., whether mole fractions must sum to 1), leaving the agent to infer from the schema.

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?

The description is two sentences, front-loaded with the core action and resource. The first sentence states the primary purpose, and the second efficiently adds supported components and method. There is no superfluous detail, making it appropriately concise.

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?

The tool is complex with 11 parameters, nested objects, and no output schema, yet the description is minimal. It does not enumerate the thermodynamic properties calculated (though unit parameters hint at enthalpy, entropy, Cp, Cv, density, bubble/dew points) nor describe what the agent should expect as a result. This is a significant gap for a tool of this complexity, especially without annotations or an output schema.

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 coverage is 100%, with descriptions for every parameter including examples for mole fraction lists and unit enums. The description does not add significant meaning beyond the schema, so the baseline of 3 applies. The mention of 'hydrocarbon mixture' in the text echoes the HC parameter description but does not enhance it further.

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 uses the specific verb 'Calculate' and identifies the resource as 'thermodynamic properties of hydrocarbon mixture', with the added clarity of 'PR EOS flash calculation'. This clearly distinguishes it from sibling tools that target other media like steam, flue gas, or psychrometric properties.

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 implies usage for hydrocarbon mixtures and non-hydrocarbon chemicals, and the mention of 'PR EOS flash calculation' suggests it is appropriate for phase equilibrium calculations. However, it does not explicitly state when to use this tool over alternatives, nor does it mention exclusions or prerequisites like mole fraction normalization.

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