Skip to main content
Glama

TidyUse Home & Garden Calculators

Deck Board Calculator

calculate_deck
Read-onlyIdempotent

Calculate deck board rows, total linear feet/meters, boards to buy, and deck screw count.

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": {
      "lengthAlongBoards": "<lengthAlongBoards>",
      "widthAcrossBoards": "<widthAcrossBoards>"
    },
    "name": "calculate_deck"
  }
}

Input Schema

NameRequiredDescriptionDefault
gapNoGap between boards (in in us, default 0.125; mm in metric, default 3).
unitNous
wastePctNoWaste allowance percent (0-50). Default 10.
boardWidthNoActual board width (in in us, default 5.5; mm in metric, default 140).
boardLengthNoLength of each purchased board (ft in us, default 16; m in metric, default 4.8).
joistSpacingNoOn-center joist spacing (in in us, default 16; mm in metric, default 400).
lengthAlongBoardsYesDeck dimension parallel to the boards (ft in us, m in metric).
widthAcrossBoardsYesDeck dimension across the boards (ft in us, m in metric).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds that unit selection drives imperial vs metric output defaults, but says nothing about rounding, how waste percentage interacts with board counts, or what happens with invalid dimensions.

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 listing the concrete outputs with no wasted wording. It is efficient, though the bare output list could have carried one clause of qualifying context at little cost.

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?

For an 8-parameter, read-only calculator with 88% schema coverage and no output schema, the definition conveys the computation's purpose and outputs adequately. Minor gap: it does not say that all length inputs shift meaning with the unit parameter, though the schema does.

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

Parameters3/5

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

Schema description coverage is 88%, so nearly every parameter already carries units, defaults and ranges in the schema. The description adds no extra meaning about the two required dimensions or the interaction between boardWidth, gap and the row count, so baseline 3 applies.

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 verb (calculate) and resource (deck board rows, linear feet/meters, boards to buy, screw count), which tells an agent exactly what it produces. It does not explicitly distinguish itself from the many sibling calculators, but the deck-specific outputs make the scope unambiguous.

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?

Usage is only implied by the deck-specific output list; there is no explicit statement of when to prefer this over calculate_square_footage or other siblings, and no mention of prerequisites or exclusions. An agent can infer intent but is given no routing rule.

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