Skip to main content
Glama
pdf4me
by pdf4me

convert_visio_to_pdf

Convert Visio files (.vsdx, .vsd, .vsdm) to PDF with options for page range, hidden pages, PDF compliance, and foreground content.

Instructions

Convert a local Visio file (.vsdx/.vsd/.vsdm) to PDF using the PDF4me ConvertVisio API. Supports PDF options (compliance, page range, hidden pages, foreground/toolbar, auto-fit), sync/async processing, and optional output directory/file name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
auto_fitNoAuto-fit content to page.
file_pathYesLocal path to the Visio file (.vsdx/.vsd/.vsdm).
output_dirNo
page_countNoNumber of pages to convert.
page_indexNoStart page index (0-based).
save_tool_barNoInclude toolbar content.
is_pdf_compliantNoMake PDF compliant with standards.
output_file_nameNo
include_hidden_pagesNoInclude hidden pages.
save_foreground_pageNoKeep foreground page content.
Behavior2/5

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

No annotations are provided, so the description bears full responsibility for disclosing side effects and return behavior. It mentions optional output directory/file name and sync/async processing, but does not specify whether the source file is modified, what the function returns (e.g., a file path or a boolean), or any network/API side effects. This lack of transparency is a significant gap.

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 concise (two sentences) and front-loads the primary action ('Convert a local Visio file'). It packs key options into a compact list without unnecessary words, making it easy to scan and understand quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 10 parameters, no output schema, and no annotations, the description is insufficient for an agent to fully understand invocation behavior. It does not describe the return value (e.g., what the PDF output is or how it is delivered), error conditions, or the effect of omitting output_dir/output_file_name. The schema covers parameter semantics but not the runtime contextual details expected from a conversion tool.

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?

Schema description coverage is 80%, so the baseline is 3. The description summarizes parameter groups (compliance, page range, hidden pages, foreground/toolbar, auto-fit) which maps to actual parameters, but does not provide additional meaning beyond the schema's own descriptions. It does not elaborate on page range calculation or default behavior in a way that exceeds 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 clearly states the verb and resource: convert a local Visio file (.vsdx/.vsd/.vsdm) to PDF using the PDF4me ConvertVisio API. It distinguishes itself from siblings like convert_to_pdf by specifying the exact file types handled, leaving no ambiguity about the tool's purpose.

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 for Visio files via the extension list, but does not explicitly state when to prefer this over generic alternatives like convert_to_pdf. No exclusions or alternative scenarios are mentioned, so an agent may need to infer when this tool is the right choice.

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

Install Server

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/pdf4me/pdf4me-mcp'

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