Skip to main content
Glama

Proven Plaza Calculators & Open Data

Pool Alkalinity Calculator (Baking Soda to Raise, Muriatic Acid to Lower)

calc_pool_alkalinity
Read-only

How much baking soda raises your pool's total alkalinity, or how much muriatic acid or dry acid lowers it, for your pool size, using published doses per 10,000 gallons. Formula: Batches = |target − current| ÷ 10 × gallons ÷ 10,000. Raise: baking soda (lb) = batches × 1.4. Lower: muriatic acid 31.4% (fl oz) = batches × 26, or sodium bisulfate (lb) = batches × 2.1. Additions: raise no more than about 50 ppm at a time; add no more than 1 quart of acid per 10,000 gallons at a time.

Input Schema

NameRequiredDescriptionDefault
target_ppmNoTarget total alkalinity (from your pool builder or test kit guide) (ppm); default 100
current_ppmNoCurrent total alkalinity (test result) (ppm); default 60
pool_gallonsNoPool volume (gal); default 15000

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/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 safety is covered. The description adds genuine operational context beyond that: the full dosing formulas and the chemical-addition limits (max ~50 ppm raise at a time, max 1 quart acid per 10,000 gal), which constrain how results should be acted on.

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?

Purpose and the empty-state intent are front-loaded, then the formula and per-chemical coefficients are packed into a few dense clauses with no filler. Slightly formula-heavy for a description, but every sentence 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?

No output schema exists, and the description compensates by naming output units for each case (lb, fl oz) so the agent knows what the result represents. With only 3 numeric inputs and full schema coverage, the definition is sufficient; it stops short of describing the response object's shape but nothing critical is missing.

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 the baseline is 3 and the schema already documents each field's meaning and defaults. The description goes further by showing how each input is used in the formula (|target − current|, gallons ÷ 10,000), clarifying the relationship between parameters rather than restating them.

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 and resource ('how much baking soda raises ... total alkalinity, or muriatic acid ... lowers it') and names the dosing basis (published doses per 10,000 gallons). An agent can distinguish it from the many sibling calc_pool_* tools (chlorine, salt, calcium, stabilizer) at a glance.

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?

Gives clear context: it branches on direction (raise vs lower) and names the specific chemicals and units for each case, which implicitly tells the agent when each path applies. However, it never names a sibling or states when NOT to use it (e.g., that it does not compute pH or volume).

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