Skip to main content
Glama

view

Read-only

Control the AutoCAD drawing display by zooming to all entities or a coordinate window, and capture the current canvas as a PNG screenshot.

Instructions

Viewport control and screenshot capture.

Operations:
  zoom_extents   — Zoom to show all entities.
  zoom_window    — Zoom to window: x1, y1, x2, y2 (top-level or inside data)
  get_screenshot — Capture PNG; data: {screenshot_path?: absolute new .png}.

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": {
      "operation": "<operation>"
    },
    "name": "view"
  }
}

Input Schema

NameRequiredDescriptionDefault
x1No
x2No
y1No
y2No
dataNo
operationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.0

TDQS

A3.5/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this does not mutate the drawing, and the description adds the meaningful constraint that get_screenshot writes a PNG to a new absolute path — a filesystem side effect worth knowing, though in mild tension with the read-only hint. What is missing is any statement of what each operation returns (e.g., whether a screenshot path is echoed back) and whether coordinates are in model-space or screen units.

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?

A one-line summary followed by a compact, front-loaded operation list; no filler sentences. The mapping of parameters to specific operations is efficient, though the mixed top-level/inside-data convention is stated a bit telegraphically.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With six parameters, no output schema, and no annotation detail beyond readOnlyHint, the definition should say what comes back from each operation and whether the screenshot path is returned or must be tracked by the caller. It covers inputs well but leaves return behavior and coordinate semantics unaddressed.

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 description coverage is 0%, so the description carries the full burden and mostly delivers: it explains that zoom_window takes x1, y1, x2, y2 either top-level or nested under data, and that data may carry screenshot_path, which must be an absolute path to a new .png. The remaining gap is the operation parameter's accepted values, which are only inferable from the bullet headings rather than declared as an explicit enumeration.

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?

"Viewport control and screenshot capture" states a concrete capability, and the Operations list enumerates the three distinct actions (zoom_extents, zoom_window, get_screenshot) so an agent knows exactly what the tool can do. It is clear but does not differentiate itself from sibling tools (annotation, block, entity, etc.), which it arguably should since the name "view" alone is generic.

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?

The per-operation blurbs imply when each is used (zoom to fit everything vs zoom to a box vs capture an image), which is adequate guidance for selecting an operation. However, there is no explicit when-to-use/when-not guidance, no prerequisites (e.g., must a drawing be open?), and no mention of alternatives for related viewport tasks.

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