Skip to main content
Glama
Tetragon
by wckdboy

apply_drawing_annotations

Add or update drawing annotations such as notes, address labels, dimensions, levels, section markers, and party-wall lines with positions and evidence for source-aware BIM drawings.

Instructions

Upsert notes, street/address labels, red dash-dot party lines, dimensions, levels and section markers. Model points use local mm; paper points use sheet mm. Parcel boundaries are allowed only on site plans. Party-wall lines must reference a wall explicitly identified as a separating wall or adjoining gable/brandmur; ordinary partitions are not party walls. Supply positions and evidence; this tool does not discover legal boundaries.

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>",
      "expected_revision": "<expected_revision>",
      "drawing_id": "<drawing_id>",
      "annotations": "<annotations>"
    },
    "name": "apply_drawing_annotations"
  }
}

Input Schema

NameRequiredDescriptionDefault
drawing_idYes
project_idYes
remove_idsNo
annotationsYes
expected_revisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/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 well: it discloses upsert (create-or-update) semantics, the dual coordinate systems (local mm for model points, sheet mm for paper points), and two hard validation rules that will reject input. It omits mutation-side behavior that matters here, notably that remove_ids deletes annotations and that expected_revision enforces optimistic concurrency.

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?

Four dense sentences, front-loaded with the action and the enumerable annotation kinds, then descending into units and validation rules. No filler or restatement of the tool name.

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 mutation tool with no annotations and no output schema, the description covers purpose, units, and key domain constraints, which is most of what an agent needs. The remaining gap is operational: deletion via remove_ids and the meaning of the required expected_revision are never addressed, both of which affect a safe call.

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 coverage is 0%, so the description must compensate and does so for the hardest fields: it explains the model-vs-paper mm meaning behind 'space'/'points', ties boundary_type party_wall/parcel to the host_wall_id validation rule, and motivates the evidence sub-object. Many fields (expected_revision, remove_ids, offset_mm, rotation_deg, label_position, approximate, font_mm) get no mention at all, leaving the coverage gap half-closed.

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 ("Upsert") plus the resource (drawing annotations) and enumerates the concrete kinds it writes: notes, street/address labels, party lines, dimensions, levels, section markers. An agent can distinguish this from geometry-mutating siblings like apply_building_changes without opening any 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?

Provides concrete eligibility rules that function as when-not guidance: parcel boundaries only on site plans, party-wall lines only when a wall is explicitly a separating wall or gable, and an explicit scope disclaimer that the tool does not discover legal boundaries. It stops short of naming an alternative tool for boundary discovery or for paper-space sheet placement.

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