Skip to main content
Glama

set_page_size

Resize the Visio page before constructing wide diagrams to prevent shapes from being cropped out of exported PNGs. Set explicit dimensions or fit the page to existing contents.

Instructions

Resize the page. Do this BEFORE building a wide architecture diagram — the default page is US Letter (8.5 x 11 in) and export_page_png crops to the page bounds, so shapes placed beyond them are invisible.

Args: width_in / height_in: New page size in inches (e.g. 20 x 12 for a hybrid-cloud reference diagram). orientation: Print orientation; inferred from the size if omitted. fit_to_contents: True = shrink/grow the page to fit what's on it (alternative to explicit width/height).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
width_inNo
height_inNo
orientationNo
fit_to_contentsNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals the default page size, export cropping behavior, invisibility of out-of-bounds shapes, orientation inference, and the shrink/grow behavior of fit_to_contents.

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 critical usage caveat is front-loaded, followed by a compact Args section with examples. Every sentence contributes either to when to call it, what it does, or how the parameters behave.

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?

For a five-parameter, no-annotation tool, the description provides strong context about sequencing, units, and alternatives. However, the undocumented 'page' parameter and the absence of any statement about return values or persistence keep it just short of complete.

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 add parameter meaning. It does so for width_in/height_in (units and an example), orientation (inferred if omitted), and fit_to_contents (explicit behavior), but never mentions the 'page' parameter from the schema.

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 object ('Resize the page') and clarifies the real-world goal (preparing for wide architecture diagrams). This is unambiguous among the sibling list, none of which target page dimensions.

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

Usage Guidelines4/5

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

It gives explicit timing guidance ('Do this BEFORE building a wide architecture diagram') and explains the consequence of skipping it (cropped exports). It does not enumerate when-not-to-use scenarios, but no sibling tool overlaps with this operation.

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

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/jagarlamudisrinath/visio-mcp'

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