Skip to main content
Glama

Properties of a fluid's state

fluid_state
Read-only

A fluid's state from two properties, with CoolProp: T, P, h, s, x, v, and "properties" (D density, u, cp, cv, mu viscosity, k conductivity, Pr, Z, a speed of sound, g). state: "T = 25 °C, P = 1 bar", "P = 1 MPa, sat vapor". Processes and cycles: solve_worksheet.

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": {
      "fluid": "<fluid>",
      "state": "<state>"
    },
    "name": "fluid_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
fluidYesWater, R134a, Ammonia…
stateYes
unitsNoDefault celsius.
referenceNoZero of h, s; default DEF. ASHRAE: textbook refrigerant tables.
propertiesNo

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?

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds that the computation is backed by CoolProp, but says nothing about failure modes for under-specified or over-specified states, output format, or how requested properties that aren't independent are handled.

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?

Compact and front-loaded, but the shorthand is dense and partly garbled – 'g' is never expanded, 'k conductivity' and 'a speed of sound' mix noun labels with definitions, and 'properties' appears both as a listed output and as a parenthetical group. It is short but requires re-reading.

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?

For a 5-parameter tool with no output schema, the description should say what comes back and in what form; it lists candidate quantities but not the response shape or error behavior. What it does cover – the state string syntax and the property code glossary – is the most important part.

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?

The schema leaves the required 'state' parameter entirely undescribed (60% coverage overall), and the description compensates with two concrete spec examples ('T = 25 °C, P = 1 bar', 'P = 1 MPa, sat vapor') that reveal the free-string syntax. It also glosses the property codes (D density, mu viscosity, a speed of sound), which adds real meaning beyond the bare enum.

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?

Names the concrete resource (a fluid's thermodynamic state via CoolProp) and enumerates the computable properties (T, P, h, s, x, v, D, u, cp, cv, mu, k, Pr, Z, a, g). It also distinguishes itself from the sibling by stating 'Processes and cycles: solve_worksheet', so the agent can tell a single-state property lookup from a process/cycle solver.

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?

Explicitly routes the alternative case: processes and cycles belong to solve_worksheet, leaving this tool for single-state property evaluation. No explicit when-not guidance beyond that (e.g., saturation tables vs. single-phase, invalid state handling), but the context for choosing it is 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.