Skip to main content
Glama
Calculatessqft MCP server

Calculatessqft MCP server

by Mustafa77-7

Boxes, rolls or gallons to buy

material_quantity

Calculates how many units of flooring, tile, carpet, or paint to buy for a given area, adding a waste allowance and using coverage per unit from the product label.

Instructions

How many units of flooring, tile, carpet or paint to buy for an area, with a waste allowance. Take coverage_per_unit_sqft from the product label (sq ft per box, roll or gallon).

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": {
      "material": "<material>",
      "area_sqft": "<area_sqft>",
      "coverage_per_unit_sqft": "<coverage_per_unit_sqft>"
    },
    "name": "material_quantity"
  }
}

Input Schema

NameRequiredDescriptionDefault
coatsNoPaint only: number of coats
materialYes
area_sqftYes
waste_percentNo
price_per_unitNo
coverage_per_unit_sqftYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations, so the description carries the full burden. It discloses the waste allowance (default 10%) and where to source coverage, but doesn't state that it's a pure calculation (no side effects), whether it rounds up, or what the output looks like. For a calculator tool, some behavioral context is given but not complete.

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?

Two sentences, front-loaded with the core purpose and waste allowance. The second sentence gives a key parameter hint. No wasted words, though the second sentence could be integrated more tightly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter tool with no annotations and no output schema, the description is incomplete. It doesn't explain rounding, output format, or the role of price_per_unit and material. Missing behavioral and parameter details make it insufficient for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 17% (only 'coats' described). The description explains coverage_per_unit_sqft (sq ft per box/roll/gallon) and implies waste_percent via 'waste allowance', but material, area_sqft, price_per_unit, and coats are not elaborated. With 6 parameters, this leaves significant gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific purpose: calculates how many units of flooring, tile, carpet, or paint to buy for an area, with a waste allowance. The verb+resource is clear, but it doesn't explicitly differentiate from siblings like square_footage or price_per_square_foot.

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

Usage Guidelines3/5

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

Implies use when estimating material purchases for an area, but gives no explicit when-to-use vs alternatives or exclusions. The instruction to take coverage_per_unit_sqft from the product label is a parameter hint, not usage guidance.

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