Skip to main content
Glama

Read drawing

read_drawing
Read-onlyIdempotent

The drawings the person made on surfaces or storeys. Without id: every drawing with basis, orphaned (basis gone in this revision) apart, counts per basis, anchor_kind element or storey. With id: figures (Elemente in the viewer) with id, kind, drawing coordinates (m) and length_m along the outline, arcs exact, and frame {origin, x, y, normal, paper_z} in project m: drawing point (a, b) = origin + ax + by; paper_z = x cross y, not always the normal. A closed figure becomes an opening by insert_in_host figure {drawing, id, version}; only else outline, axis = paper_z, ref_direction = x, point mid-depth (plane_offset: origin is the sheet, value_m off the surface along normal). Figures are the person's own (source user), the frame is for the revision served. Figure numbers are rounded (rounded names to what); facts per figure: hull {min, max, width_m, height_m}, area_m2 of closed ones (null: outline crosses itself), start and end of arcs and contour segments. host: the element's rim, openings and thickness on the paper (host_note); context true adds what the sheet cuts or touches nearby (context_note). trust holds: the frame is where the drawing is now. uncertain (body_changed): the element changed shape since the save; check the frame against it before you build. trust void: the place does not hold, no frame; tell the person, build nothing from it. On a storey the frame lies flat at the placement's height, not its Elevation attribute, seen from above. plane_source mid: body middle, no face. plane_source terrain: flat sheet on a terrain element seen from above, at the height it was opened; its z is that height, not the ground. A line is no wall and a rectangle no opening: say what you read it as. get_selection names the open drawing and the chosen figures (sketch). Read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "read_drawing"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoA drawing id from the list; without id the list of drawings
limitNoFigures per answer, default 100; next names the rest
offsetNoWith id: first figure; default 0
contextNoWith id: also the elements around the drawing that its sheet cuts or touches, as rings in drawing coordinates; default false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description adds substantial behavior: trust states (holds vs uncertain body_changed vs void with no frame and an instruction to tell the person), that the frame belongs to the revision served, orphaned-basis handling, and the storey/plane_source rules for where the frame actually lies. It also warns that a line is not a wall and a rectangle not an opening, which prevents a real class of misinterpretation. This is well beyond what the annotations convey.

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

Conciseness3/5

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

Most clauses carry necessary domain content, and the list-versus-id distinction is placed first, so it is reasonably front-loaded. However, it is delivered as one dense run-on paragraph of semicolon-separated fragments and parentheticals, which makes it hard to parse and slows an agent scanning for the frame formula or trust rules. Better grouping would preserve the content at lower reading cost.

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?

For a tool with no output schema and four parameters, the description covers return structure in depth: frame components and the (a, b) = origin + a*x + b*y formula, hull/area_m2 nullability, arc and contour endpoints, host_note versus context_note, and the trust taxonomy. It also explains the coordinate height conventions for storeys and terrain that would otherwise silently produce wrong geometry. Nothing essential for a correct call appears to be 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 would be 3, but the description adds mode semantics the schema only hints at: id toggles between list and figure detail, limit is figures per answer with 'next' naming the remainder, and context=true returns surrounding elements as rings in drawing coordinates. That ring/coordinate meaning is genuinely supplemental rather than a restatement of the property text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the specific resource (drawings the person made on surfaces or storeys) and splits behavior by mode: without id a list with basis/anchor_kind/counts, with id the figures plus frame and geometry. It also names sibling get_selection for the open drawing and insert_in_host for converting a closed figure into an opening, so an agent can distinguish it from adjacent tools. The one weakness is that the opening clause is a noun phrase rather than a verb phrase, so the core action ('read') must be inferred from the name.

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?

Usage is routed implicitly but concretely: omit id to enumerate drawings, supply id to read figures, pass context=true for surrounding cut/touched elements, and use insert_in_host if the figure should become an opening. It also directs the agent to get_selection for the open drawing and chosen sketch figures. There is no explicit 'do not use this when...' exclusion, which keeps it short of a 5.

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