Skip to main content
Glama
redesignhealth

Google Workspace MCP Server

export_doc_to_pdf

Export a Google Doc to PDF and save it directly to Google Drive. Optionally set the PDF filename and destination folder; defaults apply when omitted.

Instructions

Exports a Google Doc to PDF format and saves it to Google Drive.

Args: user_google_email: User's Google email address document_id: ID of the Google Doc to export pdf_filename: Name for the PDF file (optional - if not provided, uses original name + "_PDF") folder_id: Drive folder ID to save PDF in (optional - if not provided, saves in root)

Returns: str: Confirmation message with PDF file details and links

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folder_idNo
document_idYes
pdf_filenameNo
user_google_emailYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

There are no annotations, so the description carries the full burden. It discloses the key side effect (saving to Google Drive) and explains default behavior for optional parameters (filename and folder). However, it does not mention potential overwrite behavior, required permissions, or error conditions. While the description is honest, it lacks depth in behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with an opening sentence, an Args section, and a Returns section. It is concise and every line adds value. The docstring style is conventional and easy to parse. No wasted words.

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?

Given the tool's purpose (export and save) and the presence of an output schema, the description covers the essential aspects: what the tool does, how to call it (parameters and defaults), and what it returns. It slightly lacks information about edge cases or permissions, but for a moderately simple operation, it is complete enough for an AI agent to use effectively.

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 compensate, and it does. Each parameter is explained: user_google_email and document_id are required; pdf_filename and folder_id are optional with clear defaults. This adds meaning beyond the bare schema, although it could be more detailed (e.g., format of IDs, folder ID lookup).

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: 'Exports a Google Doc to PDF format and saves it to Google Drive.' It uses a specific verb (exports), resource (Google Doc), result (PDF saved to Drive), and distinguishes this tool from siblings like get_doc_content or create_doc. This is a precise and unambiguous purpose statement.

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?

The description clearly implies when to use this tool (when a Google Doc needs to be converted to PDF) and provides detailed context about optional parameters and their defaults. It does not explicitly name alternatives or exclusions, but for this straightforward conversion task, the context is sufficient to guide usage.

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/redesignhealth/google-mcp-unofficial'

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