Skip to main content
Glama

Water Softener Size Calculator

water_softener_size
Read-onlyIdempotent

Size a water softener from household water use and tested hardness, with yearly salt cost. Gallons per person per day is required (no national default used), for softened water only. Iron is optional; unknown when absent, and changes the setting per EcoPure's clear-water ferrous iron rule (5 gpg per ppm); other makers differ. Returns grains per day, working capacity before reserve, optional paired model ratings, three idealized EP42 test-rating examples, notes, assumptions and dated primary sources. Costs are salt only. Pure Decimal arithmetic, no network or model.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bag_lbNoBag weight in lb.
peopleYesRequired whole household size.
salt_lbNoYour manual's lb salt at capacity_grains; requires capacity_grains.
hardnessYesRequired measured hardness; after conversion 0 < gpg <= 100.
iron_ppmNoOptional dissolved clear-water ferrous iron in ppm; absent means unknown. EcoPure adds 5 gpg per ppm (W4); other makers differ.
bag_priceNoPrice per bag; one store's price (Fleet Farm, observed 2 Oct 2026); enter yours.
hardness_unitNogpg or mg/L; divide mg/L by 17.1 (W1).gpg
interval_daysNoOptional target days between regenerations.
capacity_grainsNoYour manual's grains per regeneration; requires salt_lb.
gallons_per_person_dayYesRequired softened gallons per person per day; no national default used. Exclude bypassing outdoor taps.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world); the description adds genuinely behavioral context beyond them: 'Pure Decimal arithmetic, no network or model' (deterministic/offline), 'Costs are salt only' (cost scope), and a maker-specific iron rule with the caveat 'other makers differ'.

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?

Inputs and constraints are front-loaded before output and behavior clauses, and the dense parenthetical asides ('no national default used', 'other makers differ') are informative. It runs long with several stacked clauses, but each carries content rather than filler.

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 no output schema, the description takes on the return-value burden and enumerates the outputs (grains/day, capacity before reserve, paired model ratings, EP42 examples, notes, assumptions, dated sources). For a 10-parameter tool the coverage is strong; only minor details like the salt_lb/capacity_grains pairing are left to the 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?

Schema description coverage is 100%, so the baseline is 3. The description restates the required-vs-optional split and the iron ppm rule, but the schema already documents those (including the 5 gpg/ppm and W4 reference), so added value over structured data is marginal.

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 precise verb+resource+scope: 'Size a water softener from household water use and tested hardness, with yearly salt cost.' Among ~90 calculator siblings, it is unambiguously the softener-sizing one, so no further differentiation is needed.

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?

'For softened water only' and 'gallons per person per day is required (no national default used)' tell the agent the operating conditions and the non-negotiable input. No explicit alternative-tool routing is given, but no sibling overlaps this function, so context is sufficient without exclusions.

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