Skip to main content
Glama
Calculatessqft MCP server

Calculatessqft MCP server

by Mustafa77-7

Cubic yards for concrete, gravel, mulch or topsoil

volume_cubic_yards

Calculate cubic yards of concrete, gravel, mulch, or topsoil for slabs and beds from length, width, and depth with mixed or metric units.

Instructions

Volume of a slab or bed from length, width and depth (depth defaults to inches).

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": {
      "length": "<length>",
      "width": "<width>",
      "depth": "<depth>"
    },
    "name": "volume_cubic_yards"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNoUnit used for plain numbersft
depthYesA length like 12' 6", 10ft 9in, 6 1/2, 3.5 m, or a number in "unit"
widthYesA length like 12' 6", 10ft 9in, 6 1/2, 3.5 m, or a number in "unit"
lengthYesA length like 12' 6", 10ft 9in, 6 1/2, 3.5 m, or a number in "unit"
materialNoother
depth_unitNoin

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does not state that this is a pure calculation with no side effects, does not mention the material parameter (which the title implies matters), and does not state the output unit despite 'cubic_yards' in the name being the only signal.

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 with no filler, and the parenthetical default is placed where it matters. It is efficient, though efficiency here partly reflects under-specification.

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, no output schema, and a non-trivial input format (mixed string/number lengths, three unit parameters, material selection), one sentence is not enough. Nothing explains how material affects the result or what units the returned volume uses.

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 67% and the description adds nothing beyond what the schema says: the depth default of inches is already encoded in depth_unit's enum default of 'in'. The undocumented material and depth_unit parameters get no explanation, and acceptable string formats like `12' 6\"` are left to the schema alone.

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 concrete computation: volume of a slab or bed from length, width and depth, matching the tool name. Clear verb+resource, but it never distinguishes itself from siblings like material_quantity or convert_area that could plausibly handle related volume/area math.

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

Usage Guidelines2/5

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

The only usage hint is that depth defaults to inches. There is no indication of when to pick this over material_quantity or convert_area, nor any note about what the caller gets back.

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