Skip to main content
Glama

download_chat_attachment

Download attachments from Google Chat messages to local disk or via temporary URL for file access and storage.

Instructions

Downloads an attachment from a Google Chat message and saves it to local disk.

In stdio mode, returns the local file path for direct access. In HTTP mode, returns a temporary download URL (valid for 1 hour).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_google_emailYes
message_idYesThe message resource name (e.g. spaces/X/messages/Y).
attachment_indexNoZero-based index of the attachment to download (default 0).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behavioral traits: the tool saves files to local disk and specifies different return behaviors for stdio mode (local file path) and HTTP mode (temporary download URL with 1-hour validity). This covers operational modes and output handling, though it lacks details on permissions, rate limits, or error conditions.

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 front-loaded with the core purpose in the first sentence, followed by essential operational details in two additional sentences. Every sentence adds value by explaining the action and mode-specific behaviors without redundancy or unnecessary elaboration, making it highly efficient and well-structured.

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 has an output schema (which covers return values), no annotations, and moderate schema coverage, the description is reasonably complete. It explains the tool's purpose, behavioral traits, and mode-specific outputs, but could improve by addressing permissions or error handling. The presence of an output schema reduces the need to detail return values, keeping the description adequate for context.

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?

The schema description coverage is 67% (2 out of 3 parameters have descriptions), and the description does not add any parameter-specific information beyond what the schema provides. It mentions downloading an attachment but does not explain parameter meanings like 'user_google_email' or 'attachment_index' in more detail. With moderate schema coverage, the baseline score of 3 is appropriate as the description does not compensate for gaps.

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 specific action ('Downloads an attachment from a Google Chat message') and the outcome ('saves it to local disk'), distinguishing it from sibling tools like 'get_gmail_attachment_content' which handles different platforms. It precisely identifies the resource (attachment from Google Chat message) and the operation (download and save).

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 provides clear context on when to use this tool by specifying it's for downloading attachments from Google Chat messages, implicitly distinguishing it from tools for other platforms like Gmail or Drive. However, it does not explicitly state when not to use it or name alternative tools for similar tasks, such as 'get_drive_file_download_url' for Drive files.

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/HuntsDesk/ve-gws'

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