Skip to main content
Glama

eng_rainwater

Read-only

Rainwater harvesting calculator — Rain barrel and cistern sizing from roof area: gallons collected per inch of rain (0.623 gal per sq ft per inch x roof efficiency), design-storm capture in gallons and 55-gal barrels, first-flush diverter volume, annual and monthly yield, demand coverage percent and shortfall, tank days of supply, fill depth and full weight, and a recommended tank size. Params: roof_area (sq ft footprint). Optional: rainfall_in (annual inches), roof_type (metal | tile | shingle | membrane | flat | gravel | green | wood), efficiency (0.1-1), demand_gpd, dry_days (30), tank_gal, storm_in (1). Offline. 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": {
      "roof_area": "<roof_area>"
    },
    "name": "eng_rainwater"
  }
}

Input Schema

NameRequiredDescriptionDefault
roof_areaYese.g. 1500

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered by structured data. The description adds genuinely useful behavioral context beyond that: the tool is 'Offline' (deterministic, no external data), and it discloses a price of $0.003 USDC on Base via x402, which is decision-relevant for an agent choosing whether to call it. There is a mild tension with openWorldHint=true — an offline calculator is effectively closed-world — but this is an annotation-metadata mismatch rather than a described behavior that conflicts with declared semantics.

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 purpose is front-loaded correctly and the pricing/offline note at the end is worthwhile, but the middle is one dense run-on enumeration of eight output metrics plus a separate 'Params:' sentence. It is information-dense rather than padded, yet the lack of structure makes it slower to scan than it needs to be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Because there is no output schema, the description does the right thing by naming the return values, which covers the missing output documentation. Against that, the advertised optional parameter set is absent from the input schema, creating a consistency gap an agent must resolve on its own before calling.

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 has 100% coverage but is extremely thin: roof_area is typed as a string with only 'e.g. 1500', so the description's 'sq ft footprint' clarification adds real unit meaning. However, the description then advertises a long list of optional parameters (rainfall_in, roof_type with eight named types, efficiency 0.1-1, demand_gpd, dry_days, tank_gal, storm_in) that do not appear in the input schema at all, which can lead an agent to pass arguments the tool may reject.

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?

The description opens with a concrete verb+resource ('Rainwater harvesting calculator — Rain barrel and cistern sizing from roof area') and then enumerates the specific computed outputs (gallons per inch of rain, first-flush volume, demand coverage, tank days of supply). An agent can immediately tell this is a deterministic sizing calculator and distinguish it from sibling structural tools like eng_roof or eng_gutter.

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 only implied through the input parameter (roof_area footprint) and the phrase 'Offline.' There is no explicit statement of when to choose this over a related tool, no prerequisites, and no exclusions — an agent must infer the scenario (sizing a rain barrel/cistern) from the output list alone.

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