Skip to main content
Glama

eng_trap_arm

Read-only

Trap arm / vent distance check — Check a fixture trap arm against IPC Table 906.1: minimum trap size by fixture (Table 709.1), maximum developed length from trap weir to vent, minimum slope, total fall within one pipe diameter (906.2) and the 2-diameter minimum, with OK/REVIEW/FAIL and fixes. Required: fixture (lavatory, bathtub, shower, kitchen-sink, dishwasher, clothes-washer, laundry-tray, bar-sink, floor-drain, bidet, drinking-fountain; aliases sink/tub/washer). Optional: trap (size in inches, e.g. 1.5 - can replace fixture), length_ft, slope (in/ft, e.g. 1/4), fall_in. 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": {
      "fixture": "<fixture>"
    },
    "name": "eng_trap_arm"
  }
}

Input Schema

NameRequiredDescriptionDefault
fixtureYese.g. shower

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/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 safety, yet the description adds genuinely new behavioral context: the OK/REVIEW/FAIL verdict format with fixes, the specific IPC tables applied, and a paid-call cost of $0.003 USDC via x402 on Base. The payment requirement is critical operational information that no annotation conveys.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The check scope is front-loaded well, but the body is a single run-on sentence with stacked parentheticals and a price note appended at the end. Dense but not scannable; the optional-parameter list would read better as a separate clause.

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 read-only single-parameter calculator with annotations covering safety and no output schema, the description does the heavy lifting: it names the governing code sections, the verdict vocabulary, and the payment model. The only completeness gap is the mismatch between described optional inputs and the actual schema.

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?

The schema documents only 'fixture' with a bare 'e.g. shower', and the description usefully supplies the full accepted value list plus aliases (sink/tub/washer). However, it advertises optional parameters — trap, length_ft, slope, fall_in — that do not exist in the input schema, which will mislead an agent into passing arguments that are silently ignored.

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 and resource — 'Check a fixture trap arm against IPC Table 906.1' — and enumerates exactly which code checks it performs (trap size, developed length, slope, total fall, 2-diameter minimum). An agent can distinguish this from generic siblings like eng_drain_size without opening any schema.

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?

The stated scope implies when to call it (verifying a trap arm to vent), but there is no explicit when-not guidance and no named alternative for adjacent checks. Usage is inferred from the code-section references rather than stated.

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