Skip to main content
Glama

TwoCut Construction & DIY Calculators

Mulch Bag Calculator

mulch
Read-onlyIdempotent

Calculate how many bags of mulch (and bulk cubic yards) cover a garden bed. Area is length × width, or direct_area when you already know it; depth is the finished depth; waste adds a settling allowance; bag_volume is the volume of one bag (2 ft³ is common). Optional bag_price, bulk_price and delivery compare bagged with bulk. Use for mulch, bark or wood chips. For stone ordered by weight use gravel; for soil use topsoil. 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": "mulch"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoFinished depth. Unit: in (US) / cm (metric). Default (US units): 3.
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 settling. Unit: % (US) / % (metric). Default (US units): 10.
widthNoBed width. Unit: ft (US) / m (metric). Default (US units): 8.
lengthNoBed length. Unit: ft (US) / m (metric). Default (US units): 20.
deliveryNoBulk delivery fee. Unit: $ (US) / $ (metric). Optional, leave out to skip.
bag_priceNoPrice per bag. Unit: $ (US) / $ (metric). Optional, leave out to skip.
bag_volumeNoVolume per bag. Unit: ft³ (US) / m³ (metric). Default (US units): 2.
bulk_priceNoBulk price per yd³ (your quote). Unit: $ (US) / $ (metric). Optional, leave out to skip.
direct_areaNoBed area, if you already know it (0 = use length × width). Unit: ft² (US) / m² (metric). Default (US units): 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so 'no side effects; the same inputs always give the same result' largely restates them. What the description does add beyond the annotations is the default-fallback behavior ('Every input is optional and falls back to the calculator page default') and a preview of return contents (headline, summary lines, worked steps, inputs_used, calculator_url), which is genuinely useful since there is no output schema.

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 opening sentence carries purpose and scope, then guidance, then behavior, then returns — a sensible front-loaded order with no filler paragraphs. It is on the dense side for a calculator, and the idempotency sentence partially duplicates the annotation set, but nothing is wasted.

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?

For a ten-parameter, zero-required calculator with no output schema, the description covers inputs, defaults, unit systems, alternatives, and the shape of the result. An agent has everything needed to invoke it correctly on the first attempt.

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 baseline would be 3, but the description adds real meaning: the length × width relationship to direct_area, that depth means finished depth, that waste is a settling allowance, and the common bag_volume of 2 ft³. It does not restate the unit-conversion semantics of 'units', which the schema already handles well.

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 first sentence gives a specific verb and resource ('Calculate how many bags of mulch ... cover a garden bed') plus the secondary output (bulk cubic yards). It also names the material scope ('mulch, bark or wood chips') and explicitly disambiguates from the sibling calculators gravel and topsoil.

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?

Explicit routing rules are given: 'For stone ordered by weight use gravel; for soil use topsoil.' The financial-comparison case is also flagged as optional ('Optional bag_price, bulk_price and delivery compare bagged with bulk'), so the agent knows when to supply them.

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.