Skip to main content
Glama

Pool volume in gallons

pool_volume
Read-onlyIdempotent

Use this when someone wants to know how many gallons (or litres, cubic feet) a swimming pool holds from its shape and size: rectangle, round, oval, Roman, Grecian, kidney, L-shape or freeform, with one depth, a shallow and a deep end, or an above-ground wall height (48, 52, 54 in). Dimensions in feet or metres. Returns gallons, litres, cubic feet, cubic metres, surface area and the formula. Use it before chemical_dose, pump_size or heater_size when only dimensions are known.

Input Schema

NameRequiredDescriptionDefault
unitNoUnit of every dimension and depth: ft (default) or m.
shapeYesrect (default), round, oval, roman (half-circle ends), grecian (cut corners), kidney, lshape, free (freeform, needs area).
deep_depthNoWater depth at the deep end (optional; average of the two is used).
dimensionsYes
shallow_depthNoWater depth at the shallow end, or the only depth for a constant-depth pool.
above_ground_wall_inNoAbove-ground round or oval pool: wall height in inches instead of depths.

Output Schema

NameRequiredDescriptionDefault
linkYesPage of calculatepool.com for the same calculation.
shapeYes
litresYes
formulaYes
gallonsYes
unit_inYes
cubic_feetYes
cubic_metresYes
average_depth_ftYes
surface_area_sqftYes
above_ground_wall_inNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered and the description's job is lighter. It adds real context beyond that: the exact outputs returned (gallons, litres, cubic feet, cubic metres, surface area, formula) and the shape/depth input modes it accepts. It does not discuss error behavior or what happens with mismatched shape/dimension combos, keeping it off a 5.

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?

One dense, front-loaded paragraph that begins with the trigger condition and ends with the sibling routing rule; every clause carries information. It is list-heavy (shape names, unit names, wall heights) and slightly overpacked for a single sentence, but there is no filler to remove.

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 an output schema present, return values needn't be spelled out, yet the description still names them, and it covers the input-mode space (all shapes, three depth configurations, ft/m). The one omission is that freeform shapes require a supplied area — visible only in the schema — so the description is nearly, but not entirely, self-sufficient.

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 83%, so the schema already documents most parameters and a baseline 3 would be acceptable. The description adds value by tying the shape enum to the depth configurations available (single depth, shallow + deep end, or above-ground 48/52/54 in wall height) and by stating that dimensions may be in feet or metres, which clarifies parameter interactions rather than restating individual fields.

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?

The description states a precise verb and resource — compute gallons/litres/cubic feet a pool holds from shape and size — and enumerates the supported shape, depth and unit variants. An agent can distinguish it immediately from chemical_dose, pump_size and heater_size, which are sizing/chemistry tools rather than geometry calculators.

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

Usage Guidelines5/5

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

It opens with an explicit trigger ('Use this when someone wants to know how many gallons...') and then names the three sibling tools plus the selecting condition: 'use it before chemical_dose, pump_size or heater_size when only dimensions are known.' That is a clear when-to-use rule with an explicit alternative.

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