Skip to main content
Glama
consultantstanleymn

sweethome3d-mcp

add_dimension

Add dimension lines to Sweet Home 3D .sh3d projects using start/end coordinates in centimetres, offset, and label angle to annotate measurements without opening the app.

Instructions

Add a dimension line to a .sh3d project. Lengths are in centimetres and rotations in degrees. The plan coordinate system uses y increasing downward. This tool does not snap to existing geometry or infer offsets from nearby walls. Example: add_dimension(project_path='house.sh3d', x1=0, y1=0, x2=500, y2=0, offset=20)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x1Yes
x2Yes
y1Yes
y2Yes
offsetNo
label_angleNo
project_pathYes
visible_in_3dNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations to carry safety or behavior information, the description discloses important behavioral details: units are centimetres, rotations are degrees, the y-axis increases downward, and the tool does not snap or infer offsets. This adds real behavioral context beyond the schema, though it could mention side effects on the project file or validation behavior.

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?

The description is compact and front-loaded: the core action appears first, followed by essential measurement conventions, a behavioral caveat, and a concrete example. Every sentence adds useful information without redundancy.

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 an 8-parameter tool with no annotations, the description covers the most crucial contextual aspects: units, coordinate orientation, non-snapping behavior, and a usage example. It does not explain all parameter semantics explicitly or mention potential errors, but the output schema exists and the description is sufficient for a well-named tool.

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 description coverage is 0%, so the description must compensate for missing parameter documentation. It explains the coordinate system, units, rotation measurement, and provides a concrete example mapping parameters to values. Some parameter meanings remain implicit, but the names and example largely make them understandable.

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 states a specific verb ('Add') and resource ('a dimension line to a .sh3d project'), clearly distinguishing it from sibling tools like add_wall, add_room, and add_furniture. The scope is unambiguous.

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 description provides clear context for use: it is for adding dimension lines with explicit coordinates, and it explicitly notes that snapping and offset inference are not performed. It does not explicitly name alternative tools or state when not to use it, but the purpose and constraints make the appropriate use clear.

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/consultantstanleymn/sweethome3d-mcp'

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