Skip to main content
Glama

eng_drain_size

Read-only

Drain pipe sizing (DFU) — Size DWV drains from fixtures: sums IPC Table 709.1 drainage fixture units and returns the horizontal branch, stack and building drain size (IPC Table 710.1(1)/(2)), minimum vent size and slope / water-closet notes. Required: fixtures (name:qty list; e.g. bathroom-group, water-closet, kitchen-sink, clothes-washer, shower, lavatory, floor-drain, urinal; aliases toilet/tub/washer). Optional: slope (1/16, 1/8, 1/4 default, 1/2 in/ft), intervals (branch intervals on the stack, default 1). 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": {
      "fixtures": "<fixtures>"
    },
    "name": "eng_drain_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
fixturesYese.g. bathroom-group:2,kitchen-sink:1,clothes-washer:1

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, non-destructive, open-world behavior, so the description correctly spends its words elsewhere: it discloses the paid call ($0.004 USDC via x402 on Base), the standards applied, and what the output contains (branch, stack, building drain size, minimum vent, slope/WC notes). It stops short of describing error behavior or payment failure modes.

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 is front-loaded in the first clause, followed by required/optional inputs, then price. It is dense but every sentence carries information; the only waste is the reference to a parameter the schema does not expose.

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?

For a one-parameter calculator with no output schema, the description supplies the return contents, unit conventions, slope defaults, and cost, which is more than adequate. The phantom 'intervals' input is the one gap that could confuse an agent building the call.

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?

Schema coverage is 100%, so the fixtures parameter is already documented, but the description adds real meaning: enumerated fixture types with aliases (toilet/tub/washer) and the accepted slope values with a stated default of 1/4 in/ft. It also mentions an 'intervals' optional parameter that does not appear in the input schema, a small inconsistency that keeps this from a 5.

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?

Uses a specific verb and resource ('Drain pipe sizing (DFU) — Size DWV drains from fixtures') and grounds it in named standards (IPC Table 709.1, 710.1(1)/(2)). It is clearly distinguishable from siblings like eng_french_drain or eng_gas_pipe, which cover different systems.

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 description establishes clear context: use it for DWV drain sizing from a fixture list, with slope and stack intervals as tuning inputs. It does not explicitly name when not to use it or point to an alternative, but the domain is narrow enough that the scope is unambiguous.

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