Skip to main content
Glama

Craft Quantities: construction material calculators

Measure a plan, sketch or photo from its points

measure_sketch
Read-onlyIdempotent

Measures areas, perimeters and lengths from points read off a floor plan, sketch or photo (pixel coordinates) and one known reference (a figured dimension, an ID-1 card or an A4 or Letter sheet): scaled figures in metric and US units with an uncertainty band, closure and crossing checks, and a canvas link. It receives no image.

Input Schema

NameRequiredDescriptionDefault
detailNofull (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read.full
shapesYesThe outlines and lines read off the image, in its pixels.
systemNoThe unit system inputs left out open in, and the one the page link opens in. The answer comes in both.metric
referenceYesONE known size in the same image: a figured dimension, or an object of known size by its four corners.
inputUnitsNoSend "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit.
pixelErrorNoHow far any point may be off, in pixels: it sets the band.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description then adds real behavioral context: results come in both metric and US units with an uncertainty band, closure and crossing checks, plus a canvas link, and it flags that no image is ingested.

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?

A single front-loaded sentence opening with the verb, with no filler. It is dense — parenthetical units, reference types and output features packed into one clause chain — but every element carries information.

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 6-parameter nested tool with an output schema, the description supplies the essential mental model: what is measured, what inputs it expects, that a reference is mandatory, and that no image is passed. The remaining gap is routing guidance against sibling measurement tools.

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 every parameter including the reference object, pixelError, detail and system. The description only restates the conceptual contract (points plus one known reference), adding no syntax or format detail beyond the schema — the baseline 3 applies.

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 precise verb+resource+scope: it measures areas, perimeters and lengths from pixel points plus one known reference, and it explicitly notes it receives no image. That last clause cleanly separates it from image-consuming siblings like run_takeoff or create_project_file_from_plan.

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 only implied: the agent can infer it should call this when it already has point coordinates and a reference scale, and the 'It receives no image' clause rules out image-input workflows. There is no explicit when-to-use, no when-not, and no named alternative among the many measure/takeoff siblings.

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