Skip to main content
Glama

eng_egress_window

Read-only

Egress window code check (IRC R310) — Checks an emergency escape and rescue opening against IRC R310: net clear area (5.7 sq ft, or 5.0 sq ft at grade floor or basement), 24 in minimum clear height, 20 in minimum clear width, 44 in maximum sill height, and basement window wells (9 sq ft, 36 in width and projection, ladder when deeper than 44 in). Returns PASSES or FAILS, each check, the minimum height or width that would pass, and tips. Can estimate the clear opening from the unit size by window type. Params: width and height (inches). Optional: measure (clear | unit, default clear), type (casement | double-hung | single-hung | slider | awning), floor (upper | grade | basement), sill_height, well_width, well_projection, well_depth (inches). Price: $0.003 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": {
      "width": "<width>",
      "height": "<height>"
    },
    "name": "eng_egress_window"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthYese.g. 24
heightYese.g. 41

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish readOnly=true and destructive=false, so the description doesn't need to re-litigate safety. It adds real behavioral context beyond that: the exact return payload (PASSES/FAILS, each check, minimum passing height/width, tips) and the cost/payment model ($0.003 USDC on Base via x402), which an agent needs before invoking. It doesn't disclose latency or failure modes, keeping it below a 5.

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?

Purpose and code reference are front-loaded, and every clause carries information (thresholds, return shape, params, price). It is dense — one long sentence packed with a parenthetical parameter list — which costs a little readability but wastes no words.

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?

With no output schema, the description carries the return-value burden and does so by listing each result component. Combined with concrete numeric thresholds, parameter defaults/enums, the unit-estimation path, and pricing, an agent has everything needed to call it correctly and interpret the result.

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 input schema declares only width and height, yet the description documents units (inches), defaults (measure=clear), and full enum value sets for measure, type, and floor, plus the well and sill parameters. This adds meaning far beyond the schema and is essential given the schema omits those optional parameters entirely.

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+resource: 'Egress window code check (IRC R310)', then names the exact standard and the five checks performed. No sibling shares this scope (the other eng_* tools cover stairs, beams, vents, etc.), so an agent can route here without ambiguity.

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 implied by the narrow domain rather than stated: the description never says when to prefer this over another tool or when a check is out of scope. It does give one piece of conditional guidance — that clear opening can be estimated from unit size when 'measure=unit' — but there are no explicit exclusions or prerequisites.

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