Skip to main content
Glama

eng_stairs

Read-only

Stair calculator with IRC/IBC check — Stair layout from total floor-to-floor rise: number of risers, exact riser height (decimal and 1/16-in fraction), treads, total run, stair angle, stringer length and minimum 2x12 board, framing-square cut layout, IRC or IBC geometry code checks (max/min riser, min tread, nosing, optional headroom), 2R+T comfort rule and alternative riser counts. Params: total_rise (inches, or suffix like 9ft). Optional: code=irc|ibc, riser (target in), tread (run per step in), nosing, headroom (in). Offline. Price: $0.002 USDC (Base, via x402).

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": {
      "total_rise": "<total_rise>"
    },
    "name": "eng_stairs"
  }
}

Input Schema

NameRequiredDescriptionDefault
total_riseYese.g. 108

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false), so the description's contribution is the cost model ($0.002 USDC on Base via x402) and the self-contained 'Offline' execution note, both of which the agent cannot see in structured fields. It also pre-declares the computed outputs, which matters given there is no output schema. The one wrinkle is a mild tension between 'Offline' and openWorldHint=true, but this reads as a labeling choice rather than a contradiction of the read-only contract.

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 output list is front-loaded and the parameter summary plus price note follow in a predictable order, so an agent can scan the first clause and get the gist. The middle enumeration is dense and long, though nearly every listed item is a distinct computational result rather than filler.

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 no output schema, the description correctly compensates by enumerating the returned quantities and the code-check options. It also covers units, cost, and execution mode. The only shortfall is that the optional parameters it advertises (riser, tread, nosing, headroom) are absent from the declared schema, so an agent relying on the schema alone would not know they exist.

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

Parameters5/5

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

The schema exposes only total_rise with a bare 'e.g. 108' example, but the description adds the unit convention (inches) and an alternative format (suffix like 9ft). It also documents optional inputs (code=irc|ibc, riser, tread, nosing, headroom) that do not appear in the schema at all, which is meaningful semantic value beyond the structured data.

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 description names a specific tool type (stair layout calculator) and enumerates exactly what it computes: riser count, exact riser height in decimal and 1/16-in fraction, treads, total run, stair angle, stringer length, framing-square cuts, and IRC/IBC checks. This is far more specific than a sibling like 'eng_beam' would need, and an agent can immediately tell this is a code-compliant stair geometry tool, not a generic engineering lookup.

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?

It states the required input context clearly ('from total floor-to-floor rise') and lists the optional refinements (code, riser, tread, nosing, headroom), which tells the agent when the extra parameters matter. It does not explicitly say when to prefer this over a sibling calculator or what to do if rise is unknown, so it falls short of full routing guidance.

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