Skip to main content
Glama

Engineering Script

PIPEWATER

Calculate water pipe sizing: pipe diameter, velocity, pressure drop

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": {
      "P": "<P>",
      "T": "<T>",
      "M": "<M>",
      "L": "<L>"
    },
    "name": "PIPEWATER"
  }
}

Input Schema

NameRequiredDescriptionDefault
LYesPipe length
MYesWater mass flow rate
PYesWater pressure
TYesWater temperature
D_unitNoOutput pipe diameter unitin
u_unitNoOutput velocity unitm/sec
dP_unitNoOutput pressure drop unitpsi
rho_unitNoOutput density unitlb/ft3

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description discloses the core behavior: it calculates pipe sizing outputs. However, it lacks details on assumptions (e.g., circular pipes, steady flow), limitations, or the return structure. It's basic but not comprehensive.

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 a single concise phrase, front-loaded with the verb 'Calculate' and zero wasted words. It effectively conveys the purpose without redundancy.

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?

Despite full schema coverage, the tool has 8 parameters, nested objects, many unit enums, no output schema, and no annotations. The description only lists outputs and misses calculation method, return shape, or limitations, making it under-specified for this complexity.

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 like 'Pipe length' and 'Water mass flow rate', so the baseline is 3. The tool description adds minor context about outputs but doesn't elaborate on parameter semantics beyond the schema.

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 clearly states the tool calculates water pipe sizing with three specific outputs (pipe diameter, velocity, pressure drop). This verb+resource combination distinguishes it from sibling tools like PIPEFLOWGAS or PIPESTEAM by focusing on water and sizing.

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?

The description provides no guidance on when to use this tool versus alternatives like PIPEFLOWLIQ or PIPEAIR. It doesn't mention prerequisites, exclusions, or context such as 'use for water piping systems only.'

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