Skip to main content
Glama

eng_affinity_laws

Read-only

Pump and fan affinity laws — Speed or diameter change for a centrifugal pump or fan: new flow, head (or fan pressure) and power from the affinity laws, power change percent, and optional annual kWh and cost savings for a VFD slow-down. Params: q1 (flow, any unit), h1 (head or pressure), p1 (power, kW or hp with power_unit=hp), n1 and n2 (speeds, rpm) or target_flow to solve n2, d1/d2 (impeller trim for pumps, geometric similarity for fans), rho1/rho2 (fan air density), type (pump|fan), hours (per year), rate (price per kWh). Warns about static head and low-speed limits. Offline. Price: $0.002 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": {
      "q1": "<q1>",
      "n1": "<n1>",
      "n2": "<n2>"
    },
    "name": "eng_affinity_laws"
  }
}

Input Schema

NameRequiredDescriptionDefault
n1Yese.g. 1750
n2Yese.g. 1450
q1Yese.g. 500

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare a safe read-only, non-destructive operation, so the bar is lower; the description still adds real context: it is offline, it emits warnings about static head and low-speed limits, and it carries a $0.002 USDC x402 payment cost, which an agent needs to know before calling. It does not explain failure modes when inputs are physically inconsistent, but the paid/offline/warning disclosures are substantive.

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?

Purpose and outputs are front-loaded in the first sentence, with parameters and caveats following in a compact, scannable parenthetical list. The run-on param block is dense and would read better as a list, but no sentence is filler.

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 carries the return-value burden and does so by naming the outputs (new flow, head, power, percent change, kWh and cost savings), plus warnings, offline operation, and price. Remaining gaps are minor—return units and how warnings are surfaced in output are not stated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is nominally 100%, the schema only documents q1, n1, n2 with bare examples; the description supplies the missing semantics for h1, p1, power_unit, d1/d2 (impeller trim vs fan geometric similarity), rho1/rho2 (fan air density), type (pump|fan), hours, rate, and the target_flow alternative for solving n2. Unit conventions and the either/or between n-speeds and target_flow are covered, which is well beyond what the schema conveys.

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 computational resource: affinity-law results (new flow, head/pressure, power, power-change percent, optional annual kWh and cost) for a centrifugal pump or fan under speed or diameter change. That is a precise verb+resource pair that distinguishes it from the other engineering calculators in the sibling list.

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 context is implied by naming the scenarios (speed change, impeller trim, VFD slow-down), and the mention of static-head and low-speed warnings hints at validity limits. However, no explicit when-to-use/when-not guidance or alternative tool routing is given, so the agent must infer applicability from domain knowledge.

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