Skip to main content
Glama
tumf

fastmcp-gsuite

by tumf

save_gmail_attachment_to_drive

Save a Gmail attachment to Google Drive. Specify the message and part ID to transfer the file to your Drive with optional folder and rename.

Instructions

Save a Gmail attachment to Google Drive.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYesThe EMAIL of the Google account. Choose from:
message_idYesThe ID of the Gmail message containing the attachment.
part_idYesThe part ID of the attachment to save (e.g., '1', '0.1'). This is more stable than attachment_id and should be preferred.
folder_idNoOptional Google Drive folder ID to save to. If not provided, saves to root.
renameNoOptional new filename for the attachment. If not provided, uses original filename.
Behavior1/5

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

With no annotations, the description must disclose behavioral traits. It fails to mention permissions needed, whether the email is modified, if files are overwritten, or any side effects. The description is too brief for a cross-service operation.

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?

One sentence with zero wasted words. It is front-loaded and appropriately sized for a simple action, though it could benefit from more detail.

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?

Given 5 parameters, no output schema, and no annotations, the description is insufficient. It does not explain return values, error handling, or confirm the operation. More context is needed for a tool that integrates two services.

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 100%, so the schema already documents all parameters. The tool description does not add extra meaning beyond what's in the schema, so the baseline of 3 is appropriate.

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 'Save a Gmail attachment to Google Drive' clearly states the verb (save) and resources (Gmail attachment, Google Drive), distinguishing it from siblings like bulk_save_gmail_attachments and download_drive_file.

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 provides no guidance on when to use this tool versus alternatives, no prerequisites (e.g., need to have already fetched the message), and no exclusions. It simply states what it does.

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/tumf/fastmcp-gsuite'

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