Skip to main content
Glama

DipDose

How much to add for one reading

pool_chemical_dose
Read-onlyIdempotent

How much of a pool or hot tub chemical to add to move one test reading (free chlorine, pH, alkalinity, calcium, stabilizer or salt) from today’s number to the target, for the water’s size, with how to add it safely. From the calculators of dipdose.com; the target defaults to the middle of the good range.

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": {
      "volume": "<volume>",
      "reading": "<reading>",
      "current": "<current>"
    },
    "name": "pool_chemical_dose"
  }
}

Input Schema

NameRequiredDescriptionDefault
waterNoA pool (the default) or a hot tub.
targetNoWhere it should be. Leave out for the middle of the good range.
volumeYesHow much water it holds, in the unit below (e.g. 15000).
currentYesToday's test result for that reading (ppm; pH has no unit).
productNoThe product the person has (e.g. "baking_soda", "muriatic_acid_31", "bleach_6"). Leave out for the usual one; a wrong one is answered with the choices.
readingYesThe reading to change.
surfaceNoThe pool's surface, for calcium (plaster unless said).
alkalinityNoFor pH only: the alkalinity, if tested (a typical 80 is assumed and said).
stabilizerNoFor pH only: the stabilizer (CYA), if tested (a typical 30 is assumed and said).
volume_unitNoGallons (US, the default; amounts in oz and lb) or litres (amounts in g and kg).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, matching a pure calculation, so the description only needs to add context. It does add that the answer includes safe-application instructions and that the target defaults to the middle of the good range, but says nothing about response format, units in the output, or error behavior.

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 that names the action, inputs, and output benefit without filler. It is dense but every clause carries information; minor cost is that the safety-output note is tacked on at the end.

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?

Ten parameters with four enums is moderately complex, and the description covers the conceptual flow plus the target default. It omits how unit selection changes returned amounts, what happens with an unsupported product, and any indication of the numeric result's shape — gaps partly, but not fully, covered by the rich 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 schema already documents all ten parameters including defaults and units. The description's only addition is restating the target default and hinting at the reading choices; it adds no syntax, unit, or conditional-dependency detail beyond the schema. Baseline 3 applies.

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 — computing how much chemical to add to move one named test reading to target given water volume — and enumerates the six supported readings. It is clearly distinct from a shock calculator or a volume calculator by scoping to a single reading adjustment.

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?

The description makes the usage condition explicit: one reading, today's number, target, water size, and it explains the default target behavior. It does not, however, name any alternative (e.g. when to use pool_shock_dose instead) or state exclusions, so it stops short of full routing guidance.

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