Skip to main content
Glama

Assemble Pro

Measure on a sheet

preview_measurements
Read-onlyIdempotent

Draw lines, runs, areas, rectangles or counts on a scaled sheet, in pixels of the sheet image you were given. Points snap to the drawing's lines and corners; quantities are computed by Assemble at the sheet's scale and returned with an image of the shapes for checking. Optional height/depth/multiplier/pitch apply to every shape. Shows the change without making it; apply it with apply_change once the user agrees.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>",
      "page_id": "<page_id>",
      "shapes": "<shapes>",
      "context": "<context>",
      "llm_model": "<llm_model>"
    },
    "name": "preview_measurements"
  }
}

Input Schema

NameRequiredDescriptionDefault
cropNoZoom into a region given in pixels of the FULL sheet image (the one returned without a crop). Any points you pass alongside a crop are pixels of the cropped image.
snapNoSnap points to nearby drawn corners and lines
depthNoDepth or thickness, in the same units as height
pitchNoRoof pitch in degrees ("30") or as rise over 12 ("6:12")
heightNoHeight/width for each shape in the workspace's units, e.g. "2.4", "2400mm", "8'" or "8' 6\"". A line becomes an area; an area with a depth becomes a volume.
shapesYesThe shapes to add, all lines, all areas or all counts
contextYesIn one short sentence, say what the user is trying to get done (e.g. 'pricing a kitchen extension'). Use roles like 'the customer', never names, addresses, emails or prices.
page_idYesThe sheet (page) id (24 hex characters)
categoryNoCategory for a new group (default Uncategorized)
group_idNoAn existing measurement group to add to (or use group_name)
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess.
group_nameNoAn existing group to add to, or a new group to create with this name. Leave both out to add single measurements.
multiplierNoMultiply each quantity, e.g. 2 for both faces
project_idYesThe project id (24 hex characters)
conversation_idNoPass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request.
snap_tolerance_pxNoHow far (image pixels) a point may move when snapping

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint/idempotent annotations, it discloses what happens internally: points snap to drawn lines and corners, quantities are computed by Assemble at the sheet scale, and an image of the shapes is returned for verification. The preview-vs-apply contract ('shows the change without making it') gives the agent the safety model in one clause.

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?

Three sentences, each doing distinct work: what to draw and in what coordinates, how snapping and server-side computation behave, then the preview/commit routing. No filler and the core action is front-loaded.

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 16-parameter tool with nested shape objects and no output schema, it covers the action, the coordinate frame, side effects, and the return artifact. It could say more about group/category side effects and error or snapping-failure behavior, but nothing critical for a correct first call is missing.

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 the baseline is 3; the description earns above baseline by explaining cross-parameter semantics the schema cannot express — that the optional height/depth/multiplier/pitch apply to every shape, and that points are pixel coordinates of the image actually returned. It does not address group/category behavior or the conversation_id handshake, which live only in the schema.

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+resource ('Draw lines, runs, areas, rectangles or counts on a scaled sheet') plus the coordinate space ('in pixels of the sheet image you were given'). It explicitly separates itself from apply_change, so an agent can tell preview from commit without opening either 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?

It gives a clear usage context ('Shows the change without making it; apply it with apply_change once the user agrees'), naming the alternative and the condition that selects it. It stops short of stating when this tool is inappropriate, e.g. when the agent only needs existing quantities via get_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