Skip to main content
Glama

eng_valve_cv

Read-only

Control valve Cv sizing — Control valve flow coefficient sizing per ISA-75.01 / IEC 60534-2-1 for liquids (Cv = Q sqrt(SG/dP) with choked-flow limit FL squared times (P1 - FF Pv), cavitation index and flashing check) and gases (expansion factor Y, choked at x = Fk xT). Returns required Cv and Kv, regime, a suggested typical globe valve size, and percent opening for linear and equal-percentage trims when rated_cv is given. Required: fluid (liquid or gas), flow (gpm or scfh; m3/h or Nm3/h with units=metric), p1 and p2 (inlet and outlet gauge pressure, psig or barg). Optional: sg (default 1 = water or air), temp (F or C; sets water vapor pressure), pv (vapor pressure, psia or bar abs), fl (liquid recovery factor, default 0.9), pc (critical pressure), k (gas specific-heat ratio, default 1.4), xt (default 0.72), z (compressibility, default 1), rated_cv. Price: $0.003 USDC (Base, via x402).

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>",
      "flow": "<flow>",
      "p1": "<p1>",
      "p2": "<p2>"
    },
    "name": "eng_valve_cv"
  }
}

Input Schema

NameRequiredDescriptionDefault
p1Yese.g. 100
p2Yese.g. 75
flowYese.g. 120
fluidYese.g. liquid

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered; the description adds genuinely new behavior: the full return payload (Cv, Kv, regime, suggested globe size, percent opening for linear and equal-percentage trims), the condition that percent opening only appears when rated_cv is given, and the $0.003 USDC x402 cost. That price and return-shape disclosure is exactly the kind of context annotations cannot carry.

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?

Dense but front-loaded — the core purpose and standards come first, then returns, then required and optional parameters. Nearly every clause carries information, though the single unbroken block makes scanning harder than it needs to be.

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 spends space explaining the return values and the rated_cv-dependent fields, and it discloses the paid x402 access model. The main gap is the mismatch between the many optional parameters described and the four properties actually present in the schema, plus no note on error or invalid-input behavior.

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?

Schema coverage is nominally 100%, but the schema descriptions are only bare examples ('e.g. 100'), so the description does the real work: units (gpm/scfh, psig/barg, metric flag), defaults (sg=1, fl=0.9, k=1.4, xt=0.72, z=1), and what each value controls physically. One defect: it advertises optional parameters (sg, temp, pv, fl, pc, k, xt, z, rated_cv) that do not exist in the supplied input schema, which could lead an agent to pass unsupported arguments.

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?

States a specific verb and resource — control valve Cv sizing — plus the governing standards (ISA-75.01 / IEC 60534-2-1) and the two fluid regimes handled. An agent can immediately tell this is a valve-sizing calculator, not a generic engineering helper.

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?

Usage is implied by the required/optional parameter list and the formulas cited (choked flow, cavitation, flashing), so an agent knows when the physics applies. However, there is no explicit when-to-use or when-not-to-use guidance relative to alternatives, and no stated prerequisites beyond the required inputs.

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