Skip to main content
Glama
TwoCut Calculators MCP Server

TwoCut Calculators MCP Server

Wall Paint Can Calculator

paint_gallons
Read-onlyIdempotent

Calculate paint gallons and cans needed for walls or a whole room, including optional primer and ceiling, by subtracting door and window areas and applying coats and coverage.

Instructions

Calculate gallons and cans of paint, and optional primer, for walls or a room. mode 0 uses total wall length × height; mode 1 a room from room_length × room_width × height, adding the ceiling when ceiling is 1. Door and window area is subtracted, the result is multiplied by coats and divided by coverage (area per gallon, 350 ft² default), plus a touch-up allowance; can_size is gallons per can. Use for wall and ceiling paint. For drywall sheets and compound use drywall_sheets. Read-only calculation with no side effects; the same inputs always give the same result. Every input is optional and falls back to the calculator page default; units is "us" (default) or "metric". Returns headline (amount to buy), summary lines, numbered worked steps, inputs_used and calculator_url.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "paint_gallons"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoWhat to paint. Options: 0 = Walls (enter the total wall length); 1 = Whole room, ceiling optional.0
coatsNoNumber of coats. Default (US units): 2.
doorsNoDoors. Default (US units): 0.
unitsNoUnit system for every length/area/volume input: "us" (feet, inches, ft², ft³) or "metric" (m, cm or mm, m², m³). Defaults are converted when "metric" is chosen.us
wasteNoExtra for touch-ups. Unit: % (US) / % (metric). Default (US units): 10.
heightNoWall height. Unit: ft (US) / m (metric). Default (US units): 8.
lengthNoTotal wall length. Unit: ft (US) / m (metric). Default (US units): 30.
primerNoPrimer. Options: 0 = No primer; 1 = One coat of primer (same coverage).0
ceilingNoCeiling. Options: 0 = Walls only; 1 = Ceiling in the same paint.0
windowsNoWindows. Default (US units): 0.
can_sizeNoUS gallons per can. Default (US units): 1.
coverageNoCoverage per US gallon. Unit: ft² (US) / m² (metric). Default (US units): 350.
openingsNoDoors and windows. Unit: ft² (US) / m² (metric). Default (US units): 40.
can_priceNoPrice per can of paint. Unit: $ (US) / $ (metric). Optional, leave out to skip.
door_areaNoArea of each door. Unit: ft² (US) / m² (metric). Default (US units): 21.
room_widthNoRoom width. Unit: ft (US) / m (metric). Default (US units): 12.
room_lengthNoRoom length. Unit: ft (US) / m (metric). Default (US units): 12.
window_areaNoArea of each window. Unit: ft² (US) / m² (metric). Default (US units): 15.
primer_priceNoPrice per can of primer. Unit: $ (US) / $ (metric). Optional, leave out to skip.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, and closed-world behavior. The description adds meaningful calculation behavior: mode formulas, subtraction of openings, coats, coverage, touch-up allowance, can size, and default fallback for every input. It repeats idempotence slightly, but the added computational detail is substantial.

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?

The description is dense but front-loaded and appropriately sized for a 19-parameter calculator. It includes a small amount of redundancy around read-only/idempotent behavior already covered by annotations, but nothing seriously wasteful.

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?

Complete for a pure calculator: it explains the calculation model, default behavior, unit handling, and return fields, while annotations cover safety traits. With no output schema, the return-value summary is especially useful.

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 schema already documents each parameter. The description still adds valuable meaning by explaining how mode, ceiling, openings, coats, coverage, waste, and can_size interact in the calculation.

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: calculates gallons and cans of paint, with optional primer, for walls or a room. It also distinguishes itself from the drywall calculation sibling, making the tool's scope clear without opening either schema.

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?

Explicitly says to use it for wall and ceiling paint and directs drywall sheets and compound to drywall_sheets. The mode explanations further clarify which calculation path to choose.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.