Skip to main content
Glama

TwoCut Construction & DIY Calculators

Chain Link Fence Material List Calculator

chain_link_fence
Read-onlyIdempotent

Calculate a chain link fence bill of materials: mesh rolls, line, end, corner and gate posts, top rail pieces, fence ties and bags of fast-setting concrete. net_run_ft is the straight mesh run, post_spacing_ft the maximum line post spacing, roll_ft and rail_piece_ft the stock lengths, tie_spacing_in the tie spacing; line_post_bags and terminal_post_bags set concrete per post. Optional prices give a cost. Inputs are in feet and inches. Use for chain link fences. For concrete bags in post holes of any fence use post_hole_concrete. 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. Returns headline, summary lines, 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": "chain_link_fence"
  }
}

Input Schema

NameRequiredDescriptionDefault
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
roll_ftNoMesh length per roll. Unit: ft (US) / m (metric). Default (US units): 50.
bag_priceNoPrice per concrete bag. Unit: $ (US) / $ (metric). Optional, leave out to skip.
end_postsNoEnd posts. Default (US units): 2.
gate_postsNoGate posts. Default (US units): 0.
net_run_ftNoNet straight mesh run. Unit: ft (US) / m (metric). Default (US units): 150.
rail_priceNoPrice per top rail piece. Unit: $ (US) / $ (metric). Optional, leave out to skip.
roll_priceNoPrice per mesh roll. Unit: $ (US) / $ (metric). Optional, leave out to skip.
corner_postsNoCorner posts. Default (US units): 0.
rail_piece_ftNoTop rail length per piece. Unit: ft (US) / m (metric). Default (US units): 10.
line_post_bagsNo50 lb fast-setting bags per line post. Default (US units): 1.
tie_spacing_inNoFence tie spacing. Unit: in (US) / cm (metric). Default (US units): 12.
fence_height_ftNoFence height. Unit: ft (US) / m (metric). Default (US units): 4.
line_post_priceNoPrice per line post. Unit: $ (US) / $ (metric). Optional, leave out to skip.
post_spacing_ftNoMaximum line post spacing. Unit: ft (US) / m (metric). Default (US units): 10.
terminal_post_bagsNo50 lb fast-setting bags per terminal post. Default (US units): 2.
terminal_post_priceNoPrice per terminal post. Unit: $ (US) / $ (metric). Optional, leave out to skip.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 the "read-only, no side effects, same inputs give same result" sentence earns no new credit and is partly redundant. What the description does add beyond annotations is genuinely useful: every input is optional and falls back to page defaults, prices are opt-in for cost output, and the return payload keys are disclosed.

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?

Front-loaded with the output material list, then parameter glosses, then the sibling routing note, then behavior and return shape — a logical order with no filler. Minor waste: the read-only/idempotency sentence duplicates the annotations, and "Inputs are in feet and inches" slightly conflicts with the metric option explained elsewhere.

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?

With 17 parameters and no output schema, the description does the necessary work: it names the returned fields (headline, summary lines, worked steps, inputs_used, calculator_url) and states the all-optional default-fallback rule. Only small gaps remain, such as rounding or how cost totals are presented when some prices are supplied and others omitted.

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 100%, so the schema already defines every one of the 17 parameters including defaults and units; baseline 3 applies. The description's parameter glosses (net_run_ft as the straight mesh run, roll_ft/rail_piece_ft as stock lengths, bag counts per post) largely restate the schema, adding only marginal interpretive nuance.

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?

Opens with a specific verb and resource ("Calculate a chain link fence bill of materials") and enumerates exactly which materials are produced: mesh rolls, line/end/corner/gate posts, top rail pieces, ties and concrete bags. That enumeration plus the "Use for chain link fences" scope makes it unmistakable against siblings like board_feet or drywall_sheets.

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

Usage Guidelines4/5

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

Explicitly scopes usage to chain link fences and routes concrete-only questions to post_hole_concrete, which is the one realistic overlap. It lacks an explicit when-not clause for other fence types (e.g. wood/picket), but the named alternative covers the primary ambiguity.

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.