Skip to main content
Glama

set_scale

Define a drawing's scale using either a standard label, pixel conversion, two-point calibration, or the automatically detected scale note.

Instructions

Set a sheet's scale — exactly ONE of: label (a standard scale, e.g. '1/4" = 1'-0"'), upp (real feet per image px), calibrate (two points along a known dimension plus its real feet), or use_detected (adopt the drawn scale note read off the sheet). The detected scale is never applied automatically — setting it is always this explicit call. Coordinates are image px at render scale 2.0: PDF pt × 2, origin top-left, y down (the browser canvas's native space). Sheet payloads carry dims in both px and pt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uppNoReal feet per image px at render scale 2.0
labelNoA standard scale label, exactly as listed in the error on a miss
sheetYes
calibrateNoTwo points (image px) a known real distance apart, and that distance in feet
use_detectedNotrue = adopt the sheet's detected scale
Behavior5/5

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

With no annotations, the description fully discloses behavior: the exclusive choices, coordinate system (image px at render scale 2.0, origin top-left, y down), and that sheet payloads have both px and pt dimensions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Every sentence serves a purpose, front-loaded with the key 'exactly ONE of' constraint, followed by necessary context. No wasted words.

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?

Tool is well-defined for selection and invocation without output schema; covers all four modes, coordinate system, and behavioral rules.

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 high (80%), and description adds value by explaining the exclusive nature of parameters, the meaning of 'use_detected', and example format for 'label'. Minor gap: no detailed explanation of calibrate object beyond what schema has.

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?

Description clearly states the tool sets a sheet's scale, lists four exclusive methods (label, upp, calibrate, use_detected), and differentiates from siblings like delete_shape or export_takeoff.

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

Usage Guidelines5/5

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

Explicitly tells to use exactly one of the four methods, notes that detected scale is never automatic, and explains coordinate system context for proper invocation.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kentucky-ai/opentakeoff'

If you have feedback or need assistance with the MCP directory API, please join our Discord server