Skip to main content
Glama

eng_storm_drain

Read-only

Roof storm drain sizing — Size roof drains, vertical leaders and the horizontal building storm drain from roof area and design rainfall: flow = area x rain / 96.23 gpm, IPC Table 1106.2 leader and 1106.3 horizontal drain capacities, utilization, max roof area per leader size and secondary (overflow) drainage rules (IPC 1108). Required: area (roof sq ft), rain (design in/hr, 100-year 1-hour rate). Optional: drains (count, default 1), wall (sq ft of vertical wall draining onto the roof; adds 50%), slope (1/8, 1/4 default, 1/2 in/ft). 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": {
      "area": "<area>",
      "rain": "<rain>"
    },
    "name": "eng_storm_drain"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaYese.g. 12000
rainYese.g. 3

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the flow formula (area x rain / 96.23 gpm), code-table basis, defaults for optional inputs, and notably a per-call price of $0.004 USDC via x402, which the agent needs to know before invoking. What it does not disclose is the response shape, so it does not fully compensate for the absent output schema.

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-loaded with the purpose and the formula, then requirements, then cost; nothing is padding. The single dense sentence carries a lot of clauses, but each clause (units, code tables, defaults, price) contributes information an agent needs.

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 two-parameter calculation tool with no output schema, the description supplies the governing code basis, the flow formula, input units, defaults, and pricing. The only real gap is any indication of what the returned results look like (capacities, utilization values), which it only hints at in listing the computed quantities.

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% and both parameters are documented, so the baseline is 3. The description does add units and meaning ('area (roof sq ft)', 'rain (design in/hr, 100-year 1-hour rate)'), but it also describes optional parameters (drains, wall, slope) that do not exist in the input schema, which creates ambiguity about what can actually be passed.

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 a tightly scoped resource: 'Size roof drains, vertical leaders and the horizontal building storm drain from roof area and design rainfall.' The scope (roof storm drainage plus leader and horizontal drain sizing under IPC) is distinct enough that an agent can tell it apart from generic drain or gutter calculators without opening the schema.

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 usage context by naming the governing code sections (IPC Table 1106.2, 1106.3, 1108) and specifying that 'rain' must be the 100-year 1-hour design rate, which tells the agent when the tool applies. It stops short of explicit exclusions or naming an alternative tool for non-roof drainage.

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