Skip to main content
Glama

Engineering Script

PIPEAIR

Calculate compressed air 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": "PIPEAIR"
  }
}

Input Schema

NameRequiredDescriptionDefault
LYesPipe length
MYesCompressed air mass flow rate
PYesCompressed air pressure
TYesCompressed air 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

A3.8/5.0
Behavior2/5

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

No annotations are present, so the description carries full responsibility for behavioral disclosure. It only states the calculation outputs and gives no insight into underlying correlations, assumptions, pressure basis, or limitations. This leaves significant behavioral ambiguity for a calculation tool.

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 sentence with a clear colon-separated list. Every word contributes meaning, with no filler or repetition.

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?

Given the rich schema and lack of output schema, the description adequately states the main purpose and return values (diameter, velocity, pressure drop). It does not cover assumptions or calculation context, but for a straightforward calculation tool with well-documented inputs, it is largely complete.

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 for all parameters, so the baseline is 3 as the schema carries the load. The description adds no extra parameter semantics; it mentions output variables rather than explaining the input objects (P, T, M, L), but those are already documented in 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 uses a specific verb 'Calculate' and clearly identifies the resource as 'compressed air pipe sizing', listing the key outputs (pipe diameter, velocity, pressure drop). This distinguishes it from sibling tools like PIPEFLOWGAS or PIPEWATER by explicitly naming the fluid domain.

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?

The phrase 'compressed air' provides clear context for when the tool is appropriate, effectively implying it is for air rather than other fluids. However, it does not explicitly name alternatives or state exclusion criteria, so it lacks full when/when-not guidance.

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