Skip to main content
Glama

eng_pipe_wall

Read-only

Pipe wall thickness (ASME B31.3) — Process piping wall thickness for internal pressure per ASME B31.3 304.1.2: t = PD/(2(SEW+PY)) plus corrosion allowance and mill tolerance, then checks Sch 10/40/80/160 for the given NPS (ASME B36.10M walls) and returns the lightest adequate schedule, the MAWP of every schedule, the D/6 thick-wall and P/SE > 0.385 limits, and a 1.5x hydrotest pressure. Built-in typical allowable stresses (to 800 F) for A106-B, A53-B, API 5L-B, A333-6 and A312 TP304/316/304L/316L. Required: p (design pressure, psig; barg with units=metric) and nps (e.g. 4, 1.5 or 1-1/2) or od (outside diameter, in or mm). Optional: temp (F or C, default 100 F), material (default a106-b), s (allowable stress psi or MPa, overrides material), quality (seamless, erw, efw-double, efw-single, furnace-butt) or e (joint factor), c (corrosion/thread allowance, in or mm), mill (mill tolerance %, default 12.5), y, w, units=metric. 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": {
      "p": "<p>",
      "nps": "<nps>"
    },
    "name": "eng_pipe_wall"
  }
}

Input Schema

NameRequiredDescriptionDefault
pYese.g. 740
npsYese.g. 4

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

With annotations covering safety (readOnlyHint, destructiveHint=false), the description still adds substantial value: it discloses the calculation applied, that it checks Sch 10/40/80/160 and returns the lightest adequate schedule, MAWP per schedule, D/6 and P/SE limits, and a 1.5x hydrotest pressure. It also mentions built-in allowable stresses and a per-call price via x402.

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?

Front-loads the formula and scope, then enumerates required/optional inputs. Dense and run-on in places, but nearly every clause conveys operative detail; the pricing note is the only borderline 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?

No output schema, but the description fully enumerates what is returned (lightest schedule, per-schedule MAWP, code limits, hydrotest pressure) and the required/optional inputs, so an agent knows how to call and what to expect. Slight deduction because optional inputs like od, temp, and material appear in prose but not in the actual input schema, which could confuse invocation.

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?

The schema only carries p ('e.g. 740') and nps ('e.g. 4'), but the description adds units/semantics (psig vs barg with units=metric, NPS formats like 4, 1.5, 1-1/2), the od alternative, and defaults for temp, material, mill, plus overrides s and qualifiers quality/e/c/y/w. This meaningfully exceeds the schema descriptions.

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/resource ('Pipe wall thickness'), names the governing standard (ASME B31.3 304.1.2) and the exact formula, so an agent can distinguish it from the pipe-adjacent siblings like eng_gas_pipe or eng_steam_pipe.

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?

Gives clear context: it needs design pressure and either nps or od, applies to process piping per B31.3, and lists defaults. It does not explicitly say when to prefer a sibling tool or note exclusions, so it stops short of a 5.

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