Skip to main content
Glama
ShimmyCAD MCP

ShimmyCAD MCP

by ShimmyCane

acad_set_viewport_view

Sets a layout viewport's view center in model units and its scale in drawing units per paper inch, ensuring each layout displays only its own sheet.

Instructions

Set a layout viewport's view centre (in model units) and its scale (drawing units per paper inch; 1 is 1:1). Use it so each layout's viewport shows only its own sheet.

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": {
      "handle": "<handle>",
      "view_center": "<view_center>",
      "scale": "<scale>"
    },
    "name": "acad_set_viewport_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
scaleYes
handleYes
view_centerYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does explain the scale unit convention ('drawing units per paper inch; 1 is 1:1'), which is genuinely useful, but says nothing about the mutation's side effects, what an invalid handle does, whether existing viewport settings are overwritten, or any permission requirements.

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?

Two short sentences, with the core action stated first and unit semantics attached inline to the affected value. No filler, though the second sentence's rationale is weaker than the first sentence's content.

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

Completeness2/5

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

This is a mutation tool with no annotations and an output schema (so return values need not be described). However, the single most important invocation detail — which object 'handle' refers to — is absent, making correct invocation guesswork for a required parameter.

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 successfully clarifies view_center (in model units) and scale (drawing units per paper inch, with a 1:1 reference point), but the required 'handle' parameter is left entirely unexplained in both schema and description — the agent cannot tell whether it identifies the viewport, the layout, or the drawing.

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?

States a specific verb and resource: setting a layout viewport's view centre and scale. The generic sibling prefix (acad_add_viewport) makes clear this modifies rather than creates one, though the description never explicitly contrasts the two.

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 clause 'Use it so each layout's viewport shows only its own sheet' implies the intended workflow, but it is a rationale rather than a when-to-use rule. There is no guidance on when not to use it, no prerequisites, and no named alternative.

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