Skip to main content
Glama
tom275275

Google Workspace MCP Server

by tom275275

export_doc_to_pdf

Convert a Google Doc into a PDF and store it in Google Drive. Specify the user email, document ID, and optional PDF filename or Drive folder to control where the converted file is saved.

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.14.3

TDQS

A3.8/5.0
Behavior3/5

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

The description discloses the core side effect of creating and saving a PDF to Drive, along with optional naming/folder defaults and the return type. However, it does not mention required authentication, permission requirements, or overwrite behavior, and no annotations exist to cover these gaps.

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 well-structured, with the core operation front-loaded and a clean Args/Returns layout. Every line adds needed information; there is no fluff or repetition.

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

Completeness3/5

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

For a four-parameter tool, the description documents every parameter and the return value, allowing an agent to construct a basic call. It is incomplete, however, because prerequisites such as prior authentication and behavior on filename conflicts are absent, and there are no annotations to supply this context.

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?

Schema description coverage is 0%, and the Args section fully compensates by documenting all four parameters. It explains each parameter's purpose and specifies the default behavior for the optional pdf_filename and folder_id parameters.

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 first sentence states a precise action—exports a Google Doc to PDF—and the storage destination in Google Drive. This is unambiguous and distinct among the large sibling set; no other tool claims the same convert-and-save operation.

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?

No guidance is provided about when to use this tool versus related Drive/Docs tools, and no alternatives or exclusions are mentioned. The description implies general PDF-export usage but leaves tool selection entirely to inference.

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

Deploy Server

Other Tools