Skip to main content
Glama

Export a page to a file

visio_export_page
Read-only

Exports a Visio page to an image file. Specify the destination path and optionally the page, document, or maximum pixel size for raster formats.

Instructions

Write a page to an image file on disk.

The extension picks the format; Visio handles .png, .jpg, .gif, .bmp, .tif, .svg and .emf.

Args: path: Destination file path. Relative paths resolve against the server's working directory. page: Page name or 1-based index. Omit for the page on screen. document: File name or 1-based index. Omit for the active document. max_pixels: Longest edge for raster formats.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
pathYes
documentNo
max_pixelsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYes
pathYes
bytesYes
formatYes
documentYes

Schema Changelog

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

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

The readOnlyHint annotation indicates the document itself is not modified, and the description clarifies output is an image file. It does not detail side effects like file overwriting or error conditions, but the annotation covers the main safety concern.

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 compact and every sentence adds useful information. It front-loads the primary purpose and then provides parameter-specific details without unnecessary repetition.

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?

The purpose, parameters, and supported formats are all covered. Return value details are not specified, but the context indicates an output schema exists, so that omission is acceptable; however, no error or fallback behavior is mentioned.

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

Parameters5/5

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

All four parameters are explained with meaningful semantics: path resolution, page selection via name/index, document selection, and max_pixels behavior for raster formats. This goes well beyond the bare 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 clearly states the action: writing a page to an image file on disk. It lists supported formats and distinguishes the tool from PDF export and page rendering siblings by focusing on image files.

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 parameters behave but does not explicitly say when to prefer this tool over visio_export_pdf or visio_render_page. It lacks direct guidance on alternatives or use-case boundaries.

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/isiec9ai/MCP'

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