Skip to main content
Glama
vvmahesh0

paper-cdp-mcp

by vvmahesh0

zoom_to_fit

Adjust canvas zoom to fit selected nodes or the entire artboard into view. Specify node IDs to frame specific content, or omit to show all artboards.

Instructions

Automatically adjusts the canvas zoom level to fit a single node, multiple nodes, or the entire canvas into view.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileIdNoOptional target file ID.
nodeIdsNoArray of node IDs to frame. If omitted, fits all artboards.
Install Server

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It accurately states that the tool changes the zoom level to fit content into view, which is the core behavior, but it does not disclose potential side effects, persistence, validation failures, or whether it affects the current file selection/context.

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?

A single sentence that states the action, target, and outcome with no filler. The key behavior is front-loaded and every phrase earns its place.

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?

The tool is simple and the schema covers parameters, but there is no output schema or annotation context. The description leaves implicit what the return value is, what happens when fileId is omitted, and how this compares with related camera/pan tools, which weakens end-to-end completeness.

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?

The schema already covers both parameters fully (100% coverage), so the description does not need to add much. It does slightly enrich nodeIds by framing it as 'single node, multiple nodes, or entire canvas,' but it adds no new meaning to fileId.

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 clearly identifies a specific action ('adjusts the canvas zoom level') and its scope ('fit a single node, multiple nodes, or the entire canvas into view'). This differentiates it from camera-related siblings like set_camera_zoom and pan_to_node by emphasizing automatic fitting rather than manual control.

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 description implies when to use the tool: when the agent wants to frame a node, a set of nodes, or the whole canvas. However, it does not explicitly distinguish this from set_camera_zoom or pan_to_node, and there is no guidance about when not to use it or alternatives to prefer.

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

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/vvmahesh0/paper-cdp-mcp'

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