Skip to main content
Glama

eng_gas_pipe

Read-only

Gas pipe sizing — Gas pipe sizing (offline, IFGC/NFPA 54 Appendix A equations - reproduces the IFGC Table 402.4 capacities). Required: btu (total connected appliance input, BTU/h) or loads=name:btu,... (e.g. furnace:80000,water_heater:40000,range:65000) or cfh; length (ft, longest run to the farthest appliance). Optional: gas (natural | propane), material (steel = Schedule 40 | copper = Type L), drop (allowable drop in inches w.c., default 0.5), pressure_psi (2 or 5 for elevated-pressure systems) with drop_psi, heating_value (BTU/cf; default 1000 natural, 2516 propane). Returns required CFH, capacity of every pipe size at that length, the smallest size that carries the load, and per-appliance branch minimums. Price: $0.004 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": {
      "btu": "<btu>",
      "length": "<length>"
    },
    "name": "eng_gas_pipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
btuYese.g. 150000
lengthYese.g. 60

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only and non-destructive status, but the description adds real context beyond them: the tool is offline, it reproduces a specific code table (so results are code-compliant rather than generic hydraulics), and it costs $0.004 USDC on Base via x402 — a payment requirement an agent must know before calling. It stops short of describing failure modes for invalid inputs.

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?

A single dense block but every clause carries operational information — inputs, units, defaults, return contents, price. It is front-loaded with the required inputs and the repeated title phrase is the only genuine waste.

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 usefully enumerates what comes back: required CFH, capacity of every pipe size at that length, the smallest adequate size, and per-appliance branch minimums. Combined with input defaults and pricing, it is nearly self-sufficient, though the schema/description parameter mismatch leaves a small ambiguity about the full call signature.

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?

The description adds substantial meaning beyond the schema, giving formats ('loads=name:btu,...' with an example), units (BTU/h, ft, inches w.c., BTU/cf), allowed values (natural|propane, steel=Schedule 40, copper=Type L, pressure_psi 2 or 5) and defaults (drop 0.5, heating value 1000/2516). One caveat keeps it from 5: the schema exposes only btu and length as strings, so many options described here have no schema counterpart, leaving ambiguity about how they are passed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific resource and computation method: sizing gas pipe offline using IFGC/NFPA 54 Appendix A equations that reproduce IFGC Table 402.4 capacities. That is more precise than the repeated title, though the opening 'Gas pipe sizing — Gas pipe sizing' wastes the slot and it never names a sibling (e.g. eng_pipe_flow) to distinguish itself from.

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 input breakdown (you must supply btu and length; gas, material, drop, etc. are optional), and 'offline' signals it does not query a database. There is no explicit when-to-use/when-not statement and no named alternative, so an agent must infer the selection context.

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