Skip to main content
Glama

Read the rules behind a review

rules
Read-only

Retrieve Markdown criteria for electrical, plumbing, layout, and ergonomics reviews to design to code or explain findings, covering checks, scoring, and fixes.

Instructions

The rules behind a review, as Markdown: what electrical and plumbing check against NBR 5410, 16264, 5626 and 8160 (outlets per room, loads, wire sections, DR, the panel, Wi-Fi, drains, diameters, traps, pipe runs), what each layout problem means and how to fix it, and how ergonomics scores (weights, source tiers, scope, city). For designing to a standard, or explaining a finding.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicYesWhich review's rules

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.0.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds that output is Markdown documentation, but discloses nothing further about behavior (no auth, rate limits, or caveats), so it only marginally exceeds the annotation baseline.

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-loads the core statement ('The rules behind a review, as Markdown') and sizes itself appropriately for a content-heavy lookup tool. The long nested parenthetical for item lists is dense but every clause carries information, so little is wasted.

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 an output schema present, return-value explanation is not required, and the single required enum param is fully documented. Annotations cover the safety profile; the description rounds out content scope and usage, leaving only sibling-routing guidance as a gap.

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

Parameters4/5

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

Schema coverage is 100% with a single enum parameter, giving a baseline of 3. The description goes beyond the terse schema by detailing what each enum value ('electrical', 'plumbing', 'layout', 'ergonomics') actually returns, adding genuine semantic value.

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 resource (the rules behind a review) and format (Markdown), and enumerates exactly what content each topic domain yields (NBR standards, layout problems, ergonomics weights), so the agent knows what it gets. It does not explicitly differentiate itself from the sibling check tools (electrical, plumbing, layout, ergonomics), which caps it below 5.

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?

"For designing to a standard, or explaining a finding" gives clear when-to-use context across two scenarios. There are no explicit exclusions or named alternatives (e.g., 'use `electrical` to run the check instead'), so it falls short of the 5 bar.

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