Skip to main content
Glama
veluralabs

Zoho Mail MCP

by veluralabs

zoho_download_inline_image

Download an inline email image to your local disk using its contentId from attachment info, saving it to a chosen path for local access or archiving.

Instructions

Download an inline image of an email to the local disk. contentId is the cid from zoho_get_attachment_info (includeInline=true).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
saveToNoFull destination path. Default: ~/Downloads/zoho-mail-attachments/<fileName>
fileNameYesFile name to save as
folderIdYesFolder ID (from zoho_list_folders). Pass as a string — Zoho IDs are 64-bit and lose precision as JSON numbers.
contentIdYes
messageIdYesMessage ID (from zoho_list_emails / zoho_search_emails). Pass as a string — Zoho IDs are 64-bit and lose precision as JSON numbers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, and the phrase 'to the local disk' is consistent with writing a file locally, so there is no contradiction. Beyond that, the description adds little: no mention of overwrite behavior, error handling if contentId is not an inline image, or permission needs. With annotations covering the safety profile, a 3 is appropriate.

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?

Two tight sentences with the action and destination front-loaded and the parameter hint second. Every clause carries information; nothing is padded or repeated.

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?

For a file-download tool with no output schema, the description covers what it does, where it writes, and how to obtain the non-obvious contentId. Remaining gaps (overwrite/error behavior, whether it also writes to the server mailbox) are minor but not fully addressed.

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 coverage is 80% and the schema documents saveTo's default path, fileName, folderId, and messageId. The description adds value for the one undocumented parameter (contentId), explaining it is the cid returned by zoho_get_attachment_info — meaning beyond what the bare schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Download an inline image of an email') and adds the destination ('to the local disk'). This implicitly distinguishes it from the sibling zoho_download_attachment (normal attachment) and zoho_get_attachment_info, but it never names those siblings explicitly, so the differentiation is left to inference.

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?

Points the agent to the prerequisite tool and required flag: contentId comes from zoho_get_attachment_info with includeInline=true. That is clear usage context, but there is no explicit 'use this instead of X' routing or any when-not guidance.

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