Free chlorine level for your CYA and ideal pool levels
get_pool_chlorine_targetsWhat free chlorine (FC) a pool needs at its cyanuric acid (CYA, stabilizer) level: minimum, target range and SLAM / shock level from TFP's "Free Chlorine and Cyanuric Acid Relationship" chart (CYA rounded up to the next 10; above 100 ppm the 100 row is scaled and flagged), separate rows for salt water generators. Also the ideal and acceptable pH, total alkalinity, calcium hardness and CYA ranges: TFP Recommended Levels, or pool-store / health-code levels (Maryland Department of Health, ANSI/APSP/ICC-11).
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": {
"cyanuric_acid": "<cyanuric_acid>"
},
"name": "get_pool_chlorine_targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| surface | No | plaster | |
| approach | No | tfp | |
| sanitizer | No | liquid | |
| cyanuric_acid | Yes | CYA (stabilizer), ppm |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ph | Yes | ||
| more | Yes | ||
| source | Yes | ||
| chart_row_cya | Yes | The CYA row read: the reading rounded up to the next 10, 20 to 100 | |
| free_chlorine | Yes | ||
| salt_target_ppm | Yes | ||
| cyanuric_acid_ppm | Yes | ||
| daily_fc_target_ppm | Yes | What a chlorine dose tops up to: top of the range, or the bottom for a salt water generator that keeps making chlorine | |
| calcium_hardness_ppm | Yes | ||
| total_alkalinity_ppm | Yes | ||
| cyanuric_acid_range_ppm | Yes | ||
| combined_chlorine_max_ppm | Yes |