Skip to main content
Glama

Proven Plaza Calculators & Open Data

Rainwater Harvesting Calculator (Gallons from Your Roof)

calc_rainwater_harvesting
Read-only

How many gallons of rainwater your roof can collect from a storm, a month or a year of rain, how many rain barrels that fills, and how much to divert as first flush, using the Texas Manual on Rainwater Harvesting method. Formula: Gallons = rainfall (in) × roof footprint (sq ft) × 0.62 × efficiency. Barrels = gallons ÷ barrel size, rounded up. First flush = roof ÷ 1,000 × 10 gal.

Input Schema

NameRequiredDescriptionDefault
rain_inNoRainfall (in); default 1
roof_sqftNoRoof footprint (horizontal area) (sq ft); default 1500
barrel_galNoBarrel or tank size (gal); default 55
efficiency_pctNoCollection efficiency (%); default 85
first_flush_gal_per_1000NoFirst-flush diversion (gal per 1,000 sq ft); default 10

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare it a read-only, closed-world calculation, so the safety profile is covered. The description adds real behavioral value by disclosing the underlying method (Texas Manual on Rainwater Harvesting), the exact formula, and the rounding rule for barrels.

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 output description, then the method, then formulas — no filler. Slight deduction because 'First flush = roof ÷ 1,000 × 10 gal' hardcodes the default rate rather than referencing the parameter, which reads as a fixed constant.

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 five optional params and no output schema, the description carries the burden well by naming the three returned metrics and the computation path. Minor gaps: no statement that defaults are applied when params are omitted, and no note on units of the returned first-flush value.

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 baseline is 3, but the description goes further by showing how each input enters the math (rain × footprint × 0.62 × efficiency, gallons ÷ barrel size, roof ÷ 1000 × 10), clarifying roles the schema only labels.

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?

Names the exact quantities computed (gallons collectible, barrels filled, first-flush diversion) and the inputs driving them, which separates it cleanly from neighbors like calc_gutter_size or calc_roofing. An agent knows precisely what it gets back.

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?

Implies usage through phrases like 'from a storm, a month or a year of rain,' which hints at the rainfall input, but gives no explicit when-to-use/when-not guidance and never names an alternative calculator for adjacent questions (e.g., gutter sizing).

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