Skip to main content
Glama

Home Toolkit

Water Softener Size Calculator

calculate_water_softener_size
Read-onlyIdempotent

Estimate residential water softener grain capacity class, daily/weekly grain load (with iron compensation and 25% reserve margin), and regeneration cadence from household size and water hardness.

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": {
      "people": "<people>"
    },
    "name": "calculate_water_softener_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
ironNoVisible iron level (none, some, or lot).none
peopleYesNumber of people in the household (1 to 12).
hardnessGpgNoExact water hardness in grains per gallon (gpg). Overrides hardnessClass when provided.
hardnessClassNoUSGS hardness class when exact gpg is unknown.hard

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so safety is covered. The description adds real methodological context beyond that: iron compensation, a 25% reserve margin, and the three outputs produced, which tells the agent what the computation assumes rather than just what it returns. It stops short of summarizing the output shape or units of the cadence.

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?

A single front-loaded sentence with no filler, and the outputs are listed before the inputs. It is dense with parenthetical qualifiers, which slightly increases parsing cost but each clause carries information.

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 correctly compensates by naming the three return values and the key modeling assumptions (iron compensation, 25% reserve). Remaining gaps are minor: the possible grain capacity classes and the units/format of regeneration cadence are not stated.

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 adds meaning by linking inputs to computation: household size and water hardness drive the load, and iron is explicitly compensated for rather than merely accepted. That clarifies why the iron enum matters, though it does not explain the hardnessGpg-overrides-hardnessClass precedence (which stays in the schema).

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 (estimate) and resource (residential water softener) and enumerates exactly what the calculation yields: grain capacity class, daily/weekly grain load, and regeneration cadence. The 'water softener' qualifier alone separates it from the many sibling sizing calculators (water heater, AC, generator, etc.).

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 implied by the input framing ('from household size and water hardness'), so an agent can infer the scenario, but there is no explicit statement of when to pick this over other sizing calculators, no prerequisites, and no exclusions (e.g. commercial vs residential is only hinted by the word 'residential').

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.