Skip to main content
Glama

annotate

Place revision clouds, highlights, callouts, arrows, and dimensions on plan sheets to mark notes about work, attach them to finish tags, and quote live quantities.

Instructions

Place an annotation on a sheet — a note ABOUT the work, never a measurement of it. Types: cloud and highlight take rect:[[x0,y0],[x1,y1]] (a revision cloud around an area, a highlight box over it), text takes at:[x,y], callout takes at:[x,y] plus target:[x,y] (the point its leader aims at), arrow takes from:[x,y] and to:[x,y] (tail and head — plank/seam direction, the markup flooring drawings use most; #150), bubble takes at:[x,y] plus optional r (a keynote/detail circle carrying centered text), dimension takes from:[x,y] and to:[x,y] (its two measured endpoints) and labels itself with the length between them at the sheet's scale — drawn as a dimension line with end ticks and the measurement centered. A dimension states a REAL length, so it is the one annotation the scale gate applies to: on an unscaled sheet it refuses exactly like the measure tools (set_scale first) rather than dressing a px figure up as feet. It still touches no quantity — a dimension is a note about a distance, not a takeoff line item.

Pass condition to attach the note to a finish tag, which is what makes it part of that SCOPE rather than a floating remark: it then wears the condition's colour on the canvas and in the marked-set PDF, and travels with it into the report. The tag is minted on first touch like measure_polygon, so you can annotate CPT-1 before anything is traced for it. Omit condition for a note about the sheet itself. Write {{qty}} in the text to quote the linked condition's live measured quantity (multiplier applied, no waste): "x{{qty}} fixtures" reads "x6 EA fixtures" on the sheet and follows every later count; the stored text keeps the field, and list_annotations reports text_resolved.

No review gate: the pencil-not-ink rule exists to stop an agent inventing geometry, and a cloud reading "verify substrate" is not geometry. It touches no quantity. 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
rNoBubble radius (image px); omitted → the canvas default (2% of sheet width)
atNoAnchor point (image px) — text, callout, and bubble (the circle's center)
toNoArrow head / dimension end (image px)
fromNoArrow tail / dimension start (image px)
rectNoCorners (image px) — cloud and highlight
textNoThe note. A cloud with no text still reads as 'look here'; a bubble's text draws centered in the circle; a dimension appends it after the measured length
typeYescloud/highlight need rect; text/callout/bubble need at; callout also needs target; arrow and dimension need from + to
sheetYesSheet name or number, as sheet_info reports it
targetNoWhat a callout's leader line points at (image px)
conditionNoFinish tag to attach this note to, e.g. 'CPT-1' (minted on first use). Omit for an unattached sheet note

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
noteYes
textYes
typeYes
sheetYes
conditionYes
length_lfNoDimension only: the measured length (real feet) the annotation will label itself with
condition_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.1.11
    • changedInput schema / properties / from / description
      Previous value: -"Arrow tail (image px)"New value: +"Arrow tail / dimension start (image px)"
    • changedInput schema / properties / text / description
      Previous value: -"The note. A cloud with no text still reads as 'look here'; a bubble's text draws centered in the circle"New value: +"The note. A cloud with no text still reads as 'look here'; a bubble's text draws centered in the circle; a dimension appends it after the measured length"
    • changedInput schema / properties / to / description
      Previous value: -"Arrow head — what it points at (image px)"New value: +"Arrow head / dimension end (image px)"
    • changedInput schema / properties / type / description
      Previous value: -"cloud/highlight need rect; text/callout/bubble need at; callout also needs target; arrow needs from + to"New value: +"cloud/highlight need rect; text/callout/bubble need at; callout also needs target; arrow and dimension need from + to"
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "cloud",
      -  "text",
      -  "callout",
      -  "highlight",
      -  "arrow",
      -  "bubble"
      -]New value: +[
      +  "cloud",
      +  "text",
      +  "callout",
      +  "highlight",
      +  "arrow",
      +  "bubble",
      +  "dimension"
      +]
    • addedOutput schema / properties / length_lf
      Added value: +{
      +  "description": "Dimension only: the measured length (real feet) the annotation will label itself with",
      +  "type": "number"
      +}
  2. Changed7 schema fields changedv0.1.9
    • changedInput schema / properties / at / description
      Previous value: -"Anchor point (image px) — text and callout"New value: +"Anchor point (image px) — text, callout, and bubble (the circle's center)"
    • addedInput schema / properties / from
      Added value: +{
      +  "$ref": "#/properties/at",
      +  "description": "Arrow tail (image px)"
      +}
    • addedInput schema / properties / r
      Added value: +{
      +  "description": "Bubble radius (image px); omitted → the canvas default (2% of sheet width)",
      +  "exclusiveMinimum": 0,
      +  "type": "number"
      +}
    • changedInput schema / properties / text / description
      Previous value: -"The note. A cloud with no text still reads as 'look here'"New value: +"The note. A cloud with no text still reads as 'look here'; a bubble's text draws centered in the circle"
    • addedInput schema / properties / to
      Added value: +{
      +  "$ref": "#/properties/at",
      +  "description": "Arrow head — what it points at (image px)"
      +}
    • changedInput schema / properties / type / description
      Previous value: -"cloud/highlight need rect; text/callout need at; callout also needs target"New value: +"cloud/highlight need rect; text/callout/bubble need at; callout also needs target; arrow needs from + to"
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "cloud",
      -  "text",
      -  "callout",
      -  "highlight"
      -]New value: +[
      +  "cloud",
      +  "text",
      +  "callout",
      +  "highlight",
      +  "arrow",
      +  "bubble"
      +]
  3. Addedv0.1.6

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses that there is no review gate and why, that dimension enforces the scale gate and fails identically to measure tools, that conditions are minted on first touch, how {{qty}} resolves live and that list_annotations reports text_resolved, and the exact coordinate space (image px at render scale 2.0, PDF pt × 2, origin top-left).

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?

Front-loaded with the core purpose and well organized by type, but dense and mildly repetitive — 'It still touches no quantity' and 'It touches no quantity' restate the same disclaimer twice, and the dimension paragraph could shed a clause.

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?

Output schema exists, so return values need not be explained. Given 10 parameters, a mutation-ish write with no annotations, and a scale-gate failure mode, the description covers everything an agent needs to call it correctly, including failure conditions and cross-tool dependencies.

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 baseline is 3, but the description adds real meaning beyond it: the type→geometry mapping, the {{qty}} templating contract inside text, and the scope semantics of condition ('minted on first use', omit for an unattached sheet note). It overlaps the schema's enum description somewhat rather than adding new detail there.

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?

States a specific verb and resource ('Place an annotation on a sheet') and immediately delimits scope: 'a note ABOUT the work, never a measurement of it,' which cleanly separates it from the measure_* siblings. The per-type breakdown makes the tool's surface unambiguous.

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 states when to attach a condition versus omitting it, what each type is for (cloud = revision cloud, arrow = plank/seam direction 'the markup flooring drawings use most', bubble = keynote), and when the tool will refuse (dimension on an unscaled sheet, routed to set_scale). It points away from measurement tools when a measurement is actually needed.

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