Skip to main content
Glama
tudadada

subsea-flow-calculator

meg_inhibitor_dosage

Calculate required MEG or methanol weight percentage and inhibitor-to-water mass ratio for hydrate prevention using the Hammerschmidt equation from a target temperature depression.

Instructions

Calculates required thermodynamic hydrate inhibitor concentration (MEG or Methanol weight percentage in aqueous phase) and inhibitor-to-water mass ratio using the Hammerschmidt equation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inhibitor_typeNoThermodynamic inhibitor chemical type. Default: 'MEG'.MEG
required_temperature_depression_cYesTarget hydrate temperature depression (Delta T) in degrees Celsius (e.g. 10.0, 15.0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the output quantities and the underlying method, but says nothing about accuracy limits, validity ranges, or assumptions of the Hammerschmidt correlation. For a pure computation tool this is adequate but not rich.

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?

A single front-loaded sentence: verb first, then the two computed quantities, then the method. Zero filler and nothing that fails to earn its place.

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?

With no output schema, the description correctly compensates by naming what is returned (weight percentage concentration and inhibitor-to-water mass ratio). It is nearly complete, though the return field names/units for the ratio remain unspecified.

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 both parameters are already documented with units and an enum default. The description reinforces the MEG/Methanol enum meaning and the aqueous-phase basis but adds no syntax or formatting detail beyond the schema. Baseline 3 applies.

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 names a specific verb (calculates) with a precise resource (required thermodynamic hydrate inhibitor concentration and inhibitor-to-water mass ratio) and even names the governing method (Hammerschmidt equation). It is clearly distinct from siblings like hydrostatic_pressure or calculate_pipe_collapse, though it never explicitly differentiates itself from hydrate_equilibrium_approx.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this tool versus hydrate_equilibrium_approx or other hydrate-related siblings, nor any prerequisites or exclusions. The usage is only inferable from the calculation described, and no alternative is named.

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