Skip to main content
Glama

Room dimensions calculator

room_size
Read-only

A rectangular room's square feet, square meters, square yards and perimeter from its length and width in feet and inches, plus wall area and volume when the ceiling height is given. A foot is exactly 0.3048 meters. Gives the designer rule of thumb; the page linked in the answer shows the sources.

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": "room_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
width_ftNoRoom width, whole feet. Default 11.
width_inNoExtra inches of width. Default 0.
length_ftNoRoom length, whole feet. Default 12.
length_inNoExtra inches of length. Default 0.
ceiling_ftNoCeiling height in feet, for wall area and volume. Default 8; 0 to leave out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover the safe read-only and closed-world profile, so the description adds useful behavioral detail: unit conversion, outputs computed from length and width, and the condition that ceiling height enables wall area and volume. It also notes the designer rule of thumb and a source link in the answer. It does not discuss rounding or formatting, but the added context is substantial.

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 the computed outputs and is only two sentences. The meter conversion and source-link sentence are compact and relevant, though the phrase about the designer rule of thumb is slightly vague.

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?

For a simple calculator with read-only annotations, full schema coverage, and no output schema, the description is nearly complete: it lists the returns, explains units, and states the ceiling-height condition. Missing edge-case behavior such as rounding or output formatting is minor for this tool.

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 description coverage is 100%, so the schema already documents all five parameters and their defaults. The description reinforces that length and width are in feet and inches and that ceiling height controls wall area and volume, but adds little beyond the schema.

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 names the resource clearly: a rectangular room, and the outputs: square feet, square meters, square yards, perimeter, plus wall area and volume. It implicitly distinguishes this room calculator from the furniture-size siblings, but does not explicitly contrast them.

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

Usage Guidelines2/5

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

The description implies this is used for room measurements, but gives no explicit when-to-use guidance, no exclusions, and no alternatives. It does not tell an agent when to prefer this over a sibling sizing tool.

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