Skip to main content
Glama
CaeliaEve

AutoCAD MCP Ultra

by CaeliaEve

Create Viewport

viewport_create

Place a scaled model-space viewport on a paper-space layout, setting its position, size, and scale to display the exact model area needed.

Instructions

Place a scaled model-space viewport on a paper-space layout.

The viewport window shows the model region centered at (view_center_x, view_center_y); view height = height / scale.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scaleNoPaper:model scale (1.0 = 1:1, 0.5 = 1:2, 2.0 = 2:1).
widthYesViewport width in paper units.
heightYesViewport height in paper units.
layoutYesPaper-space layout that receives the viewport.
center_xYesViewport center X in paper units.
center_yYesViewport center Y in paper units.
view_center_xYesModel-space X the viewport looks at.
view_center_yYesModel-space Y the viewport looks at.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Beyond the sparse annotations (only destructiveHint=false), the description discloses important behavioral details: the viewport centers on the given model-space point and the view height is determined by height/scale. This adds real context about how parameters affect the resulting viewport without contradicting the annotation.

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?

The description is two concise sentences with no filler. It front-loads the core purpose and then provides the single most important formula for understanding how the viewport is computed.

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?

Given the moderate 8-parameter complexity, full schema coverage, and presence of an output schema, the description covers the essential behavior well. It could mention prerequisites like requiring a valid existing layout, but the current description plus schema is adequate for an agent to call the tool correctly in most cases.

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 is 3, but the description adds meaning beyond the schema by explaining the relationship between scale, height, and view_center_x/view_center_y. The formula 'view height = height / scale' clarifies semantics that parameter descriptions alone do not fully convey.

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?

The description opens with a specific verb and resource: 'Place a scaled model-space viewport on a paper-space layout.' This clearly identifies the tool's function and distinguishes it from sibling tools like viewport_set_scale, viewport_lock, and viewport_delete, which operate on existing viewports.

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?

The description explains how the tool behaves but provides no guidance about when to use it versus alternatives. It does not mention that this is for creating a new viewport as opposed to modifying an existing one, nor does it reference viewport_set_scale or any prerequisite such as the layout needing to exist.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CaeliaEve/autocad-mcp-ultra'

If you have feedback or need assistance with the MCP directory API, please join our Discord server