Skip to main content
Glama

drawing_legibility

Detect unreadable drawing layouts by flagging overlapping labels, dimension lines crossing unrelated views, and graphics past the sheet border on placed geometry.

Instructions

Legibility gate for a drawing page: on the ACTUAL placed graphics, flag the ways the layout becomes unreadable — overlapping dimension labels, a dimension line crossing a view it does not reference, or anything past the sheet border.

min_gap (mm) is the breathing room required between two labels. Returns {ok, violations, labels, segments, views}; each violation has a code (overlap/crosses_view/out_of_border) and a human reason. ok=True means the placed dimensions read cleanly on the sheet. Inspection balloons count as placed graphics too — a numbered circle sitting on a neighbour or off the sheet is flagged like any other label.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYes
min_gapNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/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 what is inspected, the exact return shape ({ok, violations, labels, segments, views}), the meaning of ok=True, and the non-obvious rule that inspection balloons are treated as placed labels. It omits whether the operation is read-only/side-effect-free and any permission or rendering prerequisites.

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 purpose, then layered detail on the parameter and return contract. Every sentence adds information, though the prose is somewhat dense and could be trimmed without losing meaning.

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?

No output schema exists, but the description supplies the return shape and violation codes, and with no annotations it adequately conveys behavior and the inspection scope. Only the read-only nature and invocation preconditions are left unstated.

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 description coverage is 0%, so the description must compensate. It explains min_gap well (mm, 'breathing room between two labels') beyond the schema's bare type/default, but the required `page` parameter is left completely undefined (though it is largely self-evident). Partial compensation only.

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?

Names a specific verb+resource (legibility gate over placed drawing graphics) and enumerates the exact failure modes it detects: overlapping labels, dimension lines crossing unrelated views, and out-of-border items. This is clearly distinguishable from the sibling drawing_gate and other drawing tools without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied — it operates 'on the ACTUAL placed graphics', suggesting a post-placement check — but the description never states when to prefer it over the similar sibling drawing_gate, nor any preconditions or when-not-to-use guidance. The agent must infer the trigger from context.

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

Deploy Server

Other Tools