Skip to main content
Glama

Export a PDF

visio_export_pdf
Read-only

Export a Visio document to a PDF file at a specified path, with options to export all pages or a single page.

Instructions

Export a document to PDF.

Args: path: Destination .pdf path. document: File name or 1-based index. Omit for the active document. page: Page to export when all_pages is false. all_pages: Export every page rather than a single one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
pathYes
documentNo
all_pagesNo

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.7/5.0
Behavior3/5

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

The readOnlyHint annotation indicates the tool does not mutate the document, and the description does not contradict that. However, the description does not mention side effects such as creating or overwriting a PDF file at the destination path.

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 short, direct, and well-organized. Every sentence and parameter line adds relevant information without unnecessary verbosity.

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 tool is fairly simple and the description covers the main inputs and behavior. It does not describe the return value, but an output schema is present, so omitting return-value details is acceptable.

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?

The description adds useful meaning to each parameter, such as 'Omit for the active document' and 'Export every page rather than a single one.' It lacks some detail, like whether page is a name, number, or 1-based index, but overall it substantially supplements the bare 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?

The name and description clearly state the tool exports a document to PDF. However, it does not explicitly distinguish itself from the sibling visio_export_page, relying on the parameter hints to imply the document-level scope.

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 usage by mentioning paths and page options, but it does not explicitly state when to prefer this tool over visio_export_page or other export-related tools. Usage guidance is present only through the parameter descriptions.

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