Skip to main content
Glama
SantosRojas

Gmail Secure MCP

by SantosRojas

gmail_send_message_strict

Sends a Gmail message directly only when confirm_send=true, supporting HTML bodies, attachments, and inline images; prefer drafting first for review.

Instructions

Directly sends a Gmail message. This is the only direct-send tool and requires confirm_send=true. Supports HTML via is_html=true or auto-detect (multipart/alternative with plain fallback). Draft-first is preferred.

Input Schema

NameRequiredDescriptionDefault
ccNo
toYes
bccNo
bodyYes
is_htmlNoForce HTML (true) or plain text (false). Omit for auto-detect: HTML tags trigger multipart/alternative with plain fallback.
subjectYes
thread_idNo
attachmentsNoLocal file paths to attach (max 5, validated by size)
confirm_sendYes
inline_imagesNoInline images for HTML (multipart/related with Content-ID). Requires HTML body.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly=false, openWorld=true and idempotent=false; the description usefully adds the confirm_send=true safety gate and the HTML rendering behavior (multipart/alternative with plain fallback). It does not mention irreversibility, quota/rate limits, or auth scope, but with annotations present the bar is lower.

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?

Four short sentences, front-loaded with purpose, then the hard requirement, then the HTML behavior, then the workflow preference. No filler 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 10-parameter, non-idempotent, outbound-email mutation with no output schema, the description omits what the call returns (message id/thread id) and the semantics of thread_id and attachments. It covers the safety gate but not enough of the call/response contract.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 30% across 10 parameters, so the description needs to compensate and largely does not. It restates confirm_send and is_html, which the schema already documents, while leaving thread_id (does it thread the message or create a new one?), to/cc/bcc constraints, and body format entirely unexplained.

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 ("Directly sends a Gmail message") and adds a differentiator: "This is the only direct-send tool." That implicitly separates it from gmail_create_draft and gmail_send_draft, though the siblings are not named explicitly.

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?

"Draft-first is preferred" signals when not to use this tool and routes toward the draft workflow, and the confirm_send=true gate is stated up front. It stops short of naming the alternative tool or spelling out the conditions (e.g., irreversible send, no undo) that should decide the choice.

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