Skip to main content
Glama
alexpekach

gmail-mcp-local

by alexpekach

send_message

Compose and send an email in one step, supporting plain text or HTML body, attachments, and reply-to threading.

Instructions

Compose AND send in one step (no draft review). Same payload as create_draft. Returns {message_id, thread_id, label_ids}. Requires gmail.compose scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountYesA connected account ref (see list_accounts).
toNo
ccNo
bccNo
subjectNo
bodyNoPlain-text body.
html_bodyNoHTML body. With body, sent as multipart/alternative.
reply_to_message_idNoMessage id to reply to (sets threading headers).
fromNoOptional From override (must be a verified send-as alias).
attachmentsNo
Behavior4/5

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

With no annotations, the description carries full burden. It discloses key behaviors: one-step compose and send, no draft review, and the return value format. However, it could mention rate limits or other constraints.

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 concise sentences that are front-loaded with the core purpose and return value. Every sentence adds value without redundancy.

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 moderate complexity (10 params, 1 required) and no output schema, the description covers return values, scope requirement, and basic workflow. It could mention error cases or other context, but is adequate.

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 coverage is 50%. The description adds no extra meaning beyond the schema, only referencing that the payload is the same as create_draft. It does not compensate for missing parameter descriptions.

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 action: 'Compose AND send in one step (no draft review)'. It distinguishes from the sibling tool 'create_draft' by noting the lack of draft review and payload similarity.

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 mentions a prerequisite ('Requires gmail.compose scope') and implies when to use (for direct sending vs. draft). It doesn't explicitly list when not to use or alternatives, but the differentiation from create_draft is clear.

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/alexpekach/gmail-mcp-local'

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