Skip to main content
Glama

paint_view

Adjust the preview crop, zoom, and rotation for a painting without changing drawing coordinates or pixels; clear all settings to restore the overview.

Instructions

Set preview crop/zoom/rotation. Does not change any drawing coordinates or pixels. Empty arguments restore overview. Snapshot(use_view=true) displays this view.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "paint_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
zoomNo
centerNo
rotationNo
rectangleNo
document_idNoTarget this document instead of the shared active one (recommended when several agents share the server)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.3/5.0
Behavior3/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 add real behavioral context: this is a non-destructive viewport operation and a no-arg call is a reset to overview. It omits important traits such as whether the view persists across calls or agents, whether rectangle overrides zoom/center, and whether it requires the document to be selected. Decent but incomplete for a mutation-shaped tool with zero annotation coverage.

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?

Three short, front-loaded sentences with no waste: the operation, the non-effect, the reset behavior, and the downstream consumer of the view. Each sentence carries distinct information an agent needs.

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?

For a five-parameter, all-optional, no-annotations, no-output-schema tool, the description covers reset semantics and non-destructiveness but leaves the relationship between center, rectangle, zoom, and rotation undefined, plus no statement of persistence or failure behavior. Adequate to start calling it, not adequate to call it confidently in edge cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 20% (just document_id), so the description must compensate and largely doesn't. "crop/zoom/rotation" loosely maps to rectangle/zoom/rotation, but `center` is never mentioned and no format or interaction semantics are given for the array parameters (order, units, how center and rectangle combine). The one well-documented parameter is the one already documented in the schema.

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 set ("Set preview crop/zoom/rotation") and immediately scopes it as a preview-only view rather than a document edit. The agent can distinguish it from paint_transform/paint_object by the explicit "Does not change any drawing coordinates or pixels" clause, though it doesn't say how it relates to paint_state or paint_snapshot beyond the use_view hint.

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?

Gives two useful usage facts: empty arguments restore the overview, and snapshot(use_view=true) will render whatever view is set. But it never states the inverse condition explicitly (use paint_transform/paint_object if you want to actually change geometry), and it doesn't say whether the view is per-agent or shared state, so the agent must infer the main alternative.

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