Skip to main content
Glama
Almond MCP

Almond MCP

check_egress

Checks a floor plate's egress against construction-library rules, verifying exit count, separation, width, travel distance, and dead ends and naming failing requirements for layout fixes.

Instructions

Checks a floor plate's means of egress against the construction library's egress rules (BCI A.10-A.13 framework + IBC-typical numeric factors - always verify against the governing code; the response repeats this).

Call AFTER laying out cores/exits and BEFORE detailing: it verifies exit count, exit separation, egress width, travel distances and dead ends in one pass, and names the failing requirement so the layout can be fixed (add an exit, move a core, widen a stair) instead of guessed at.

Args: plate_bounds_mm: Floor plate [min_x, min_y, max_x, max_y] in mm (sets gross area and the diagonal used for exit separation). exits: One entry per exit (stair door or exterior exit door): {"name": str, "x_mm": float, "y_mm": float, "width_mm": float}. Positions are the door centers; width is the clear egress width. occupancy: Occupant-load key: business, mercantile, assembly_ unconcentrated, classroom, residential, storage. stories: Stories served. Above 1, at least two exits are required and exit width demand uses the stair factor (7.6 mm/occupant) instead of the door factor (5.1). sprinklered: Sprinklered throughout (affects separation fraction, travel-distance and dead-end limits). net_area_m2: Override the occupied area; 0 uses the gross plate area. travel_distances_m: Measured worst-case travel distances (e.g. from drawn egress paths); empty skips the travel check. dead_end_m: Longest dead-end corridor in metres; 0 skips the check. Returns: JSON: {passed, occupant_load, checks: [{check, required, provided, passed, basis}], warnings, source_note}.

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": {
      "plate_bounds_mm": "<plate_bounds_mm>",
      "exits": "<exits>"
    },
    "name": "check_egress"
  }
}

Input Schema

NameRequiredDescriptionDefault
exitsYes
storiesNo
occupancyNobusiness
dead_end_mNo
net_area_m2No
sprinkleredNo
plate_bounds_mmYes
travel_distances_mNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden: it discloses that this is a verification pass, returns JSON with checks/warnings/source_note, and repeats the governing-code caveat. It also explains skip behavior for empty travel distances and zero dead ends.

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 description is front-loaded with purpose and workflow, then uses structured Args and Returns sections. It is mostly efficient, though phrases such as 'instead of guessed at' and the repeated code caveat add minor verbosity.

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?

For an 8-parameter compliance check with no annotations but an output schema, the description supplies enough workflow, parameter semantics, check list, and output shape for correct invocation. The remaining structural detail is appropriately left to the input and output schemas.

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?

Schema description coverage is 0%, so the description must compensate, and it documents all eight parameters: plate_bounds format and role, exit object fields and door-center/clear-width meaning, occupancy keys, stories threshold and stair factor, sprinklered effects, net area override, and skip semantics for travel/dead-end checks.

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?

The description states a specific verb ('Checks') and resource ('floor plate's means of egress') against construction-library egress rules, and scopes the checks to exit count, separation, width, travel distances and dead ends. It does not explicitly name or contrast with sibling tools, so it is clear but lacks sibling differentiation.

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 explicitly says to call AFTER laying out cores/exits and BEFORE detailing, and explains the purpose is to fix a failing layout rather than guess. It provides clear usage context but does not include when-not-to-use conditions or alternative tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools