Skip to main content
Glama

TidyUse Home & Garden Calculators

Fence Calculator

calculate_fence
Read-onlyIdempotent

Calculate fence posts, panels or pickets, rails, and 80/60/40 lb post-hole concrete bags.

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>"
    },
    "name": "calculate_fence"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNopicket
unitNous
gatesNoNumber of gates (0-50).
lengthYesTotal fence run length (ft in us, m in metric).
bagSizeNo80
gateWidthNoWidth per gate (ft in us, default 4; m in metric, default 1.2).
picketGapNoGap between pickets (in in us, cm in metric).
picketWidthNoPicket width (in in us, default 5.5; cm in metric, default 14).
postSpacingNoPost spacing (ft in us, default 8; m in metric, default 2.4).
railsPerSectionNoHorizontal rails per section (1-6).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the safety profile is covered. The description adds almost nothing beyond the title: it does not disclose defaults (e.g., 8 ft post spacing, 3 rails), unit switching behavior, or the shape of the result. For a 10-parameter calculator, this leaves meaningful behavioral gaps.

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 compact sentence that front-loads the verb and lists outputs without filler. It is efficient, though the list-like phrasing could be slightly clearer about what is computed versus what is input.

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

Completeness3/5

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

With 10 parameters, only 1 required, and no output schema, the description should say what the tool returns (a materials breakdown) and how units drive interpretation. It covers the output categories but not the return structure or default assumptions, leaving gaps for a fairly complex calculator.

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 coverage is 70%, so most parameters are documented in the schema. The description adds real value by clarifying that bagSize means 80/60/40 lb post-hole concrete bags, and by tying 'panels or pickets' to the kind enum. It does not explain picketGap, postSpacing, gateWidth, or unit semantics beyond what the schema provides.

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 (fence) and enumerates the outputs it produces: posts, panels/pickets, rails, and concrete bags. The purpose is unambiguous, though it does not explicitly distinguish itself from the many sibling calculate_* tools, relying on the name for that separation.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives. Given siblings like calculate_concrete and calculate_paver, an agent gets no help deciding whether this fence tool or a generic material calculator is appropriate for a given request.

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