Skip to main content
Glama

Proven Plaza Calculators & Open Data

Pool Liquid Chlorine Calculator (Ounces to Raise Free Chlorine)

calc_pool_chlorine
Read-only

Fluid ounces of liquid chlorine (sodium hypochlorite) to raise free chlorine by a target number of ppm, from pool volume and product strength. Formula: Available chlorine (g) = gallons × 3.78541 L/gal × ppm (mg/L) ÷ 1,000. Product (mL) = grams ÷ (strength% ÷ 100), since trade percent is grams of available chlorine per 100 mL. Fl oz = mL ÷ 29.5735.

Input Schema

NameRequiredDescriptionDefault
raise_ppmNoRaise free chlorine by (ppm); default 3
pool_gallonsNoPool volume (gal); default 15000
strength_pctNoProduct strength (trade %, on the jug) (%); default 12.5

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 readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds useful behavioral context beyond annotations: it exposes the exact formula, unit conversions, and the assumption that trade percent is grams of available chlorine per 100 mL. It omits output rounding/precision, but is transparent for a pure calculator.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first sentence, followed only by the formula and unit conversions needed to understand the calculation. There is no filler; every sentence contributes to understanding the result.

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

Completeness5/5

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

For a simple 3-optional-parameter calculator with full schema coverage and read-only annotations, the description supplies the output unit, input relationships, and formula. With no output schema, the first sentence still specifies the returned measure (fluid ounces), leaving no essential gap for correct invocation.

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 description coverage is 100%, so the baseline is 3. The description adds meaning beyond the schema by showing how the three parameters relate in the formula and by defining strength_pct as trade percent grams of available chlorine per 100 mL, which is not stated 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 the specific output (fluid ounces of liquid chlorine / sodium hypochlorite) and the goal (raise free chlorine by a target ppm) from named inputs (pool volume, product strength). This clearly distinguishes it from pool salt and pool volume siblings, even without naming them explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance or alternatives are given. The description explains the calculation but never says when to choose this over calc_pool_salt or calc_pool_volume, nor does it state prerequisites, exclusions, or typical scenarios.

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