Skip to main content
Glama
ShimmyCAD MCP

ShimmyCAD MCP

by ShimmyCane

acad_add_viewport

Add a viewport to an AutoCAD layout with specified paper placement, size, scale, and model center to set up sheet views.

Instructions

Add a viewport to a layout. center_in and width/height are paper inches on the sheet. scale_factor = drawing units per paper inch (48 = 1/4 in = 1 ft). model_center = the drawing point to show.

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": {
      "layout": "<layout>",
      "center_in": "<center_in>",
      "width_in": "<width_in>",
      "height_in": "<height_in>",
      "scale_factor": "<scale_factor>",
      "model_center": "<model_center>"
    },
    "name": "acad_add_viewport"
  }
}

Input Schema

NameRequiredDescriptionDefault
layoutYes
width_inYes
center_inYes
height_inYes
model_centerYes
scale_factorYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully defines the unit system (paper inches on the sheet, scale_factor as drawing units per paper inch) and what model_center means, but says nothing about persistence, whether the viewport is locked, what happens on failure, or whether an active drawing/layout is required for a mutation tool.

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?

Three short lines, front-loaded with the action and followed by unit conventions; nothing is redundant. The telegraphic phrasing ('48 = 1/4 in = 1 ft') is efficient but slightly terse to parse.

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?

An output schema exists, so return values need not be described, and the parameter semantics are well covered. However, for a six-required-parameter mutation tool with zero annotations, the description omits prerequisites and side-effect behavior, leaving a gap for an agent deciding whether the call is safe or ready to make.

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 must compensate. It explains center_in, width_in/height_in (paper inches), scale_factor (with a concrete 48 = 1/4 in = 1 ft example), and model_center (the drawing point to show) — five of six parameters. Only 'layout' is left without added meaning.

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 first clause states a specific verb and resource — 'Add a viewport to a layout' — which an agent can distinguish from the sibling acad_set_viewport_view. It does not explicitly name what makes it different from that sibling, so it stops short of a 5.

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

Usage Guidelines2/5

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

There is no statement of when to use this versus acad_set_viewport_view or the other acad_add_* creation tools, and no prerequisites such as requiring an existing layout or active drawing. The unit conventions hint at context but give no selection guidance.

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