Skip to main content
Glama

Simple House Planner

Floor plan scale calculator

calculate_plan_scale
Read-only

Use this when someone reads or prints a scale drawing or floor plan and asks what a measurement on paper means in real life, or which scale or sheet size to use. Converts lengths on a scale drawing. With a scale 1:N and a length on paper it gives the real length; with a scale and a real length it gives the length on paper; with a length on paper and the real length it shows, and no scale, it finds N. It also gives the nearest common scale in each system, metric (ISO 5455, 1:5 to 1:2500), US architectural (3" = 1'-0" to 1/32" = 1'-0", N = 12 ÷ inches per foot) and US engineering (1" = 10'-0" to 1" = 100'-0", N = 12 × feet per inch), with the difference as a fraction. For a plan size it gives the plan's size on paper and the smallest ISO sheet (A4 to A0) and US sheet (Letter, ARCH A, Tabloid, ARCH B to ARCH E) that holds it inside the margins, upright or turned.

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

Input Schema

NameRequiredDescriptionDefault
planNoSize of the whole plan, for the smallest sheet it fits on.
realNoA length in the building, in millimeters.
paperNoA length measured on the drawing, in millimeters.
scaleNoThe N of the drawing scale 1:N, such as 50 for 1:50 or 48 for 1/4" = 1'-0". Leave it out to find N from paper and real.
marginNoClear margin on every edge of the sheet, in millimeters; 10 when it is missing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already establish this is a read-only, closed-world calculation, and the description goes well beyond them: it explains what each input combination yields, the supported scale families with their numeric ranges, the conversion formulas (N = 12 ÷ inches per foot; N = 12 × feet per inch), and that plan size returns the smallest ISO and US sheet upright or turned. With no output schema present, this return-value disclosure is exactly what the description must carry.

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?

Three sentences, front-loaded with the usage trigger before the mechanics, and no filler. It is dense and the parenthetical formulas are near the edge of what an agent needs, but every clause maps to an actual capability rather than restating the name.

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 five-parameter, all-optional calculator with no output schema, the description covers each output mode and the sheet-fitting result thoroughly. The remaining gap is that it never says what happens with insufficient or no parameters, which matters given zero required inputs.

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%, so per-parameter meanings are already documented and the baseline is 3. The description adds genuine value the schema cannot: the combinational semantics — scale plus paper gives real, scale plus real gives paper, paper plus real with no scale finds N — which tells an agent which optional parameters to supply together.

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 verb and resource ('Converts lengths on a scale drawing') and immediately enumerates the three conversion modes it handles plus scale-nearest and sheet-fitting outputs. That is enough to separate it from neighbours like calculate_floor_area or calculate_bed_fit without opening the schema.

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?

The opening sentence gives a concrete trigger: someone reading or printing a scale drawing asking what a paper measurement means, or which scale/sheet size to use. It covers when to reach for the tool but names no alternative or exclusion, so an agent must infer that other calculate_* tools handle areas and material quantities.

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