Skip to main content
Glama
shanjairaj7

commune-mcp

by shanjairaj7

send_email

Send email messages with HTML or plain text body, support attachments, reply to threads, and specify sender address. Automatically resolves domain from inbox ID.

Instructions

Send an email message.

Provide html or text (or both) for the body. To reply in an existing thread, pass thread_id. To attach files, first call upload_attachment, then pass the attachment IDs as a comma-separated string.

You only need inbox_id to send — the domain is inferred automatically.

Args: to: Recipient email address (for multiple, comma-separate) subject: Email subject line html: HTML body content text: Plain text body (fallback) from_address: Sender address (optional, uses inbox default) reply_to: Reply-to address (optional) thread_id: Reply within an existing thread (optional) inbox_id: Send from a specific inbox (recommended — domain is auto-resolved) domain_id: Send from a specific domain (optional, inferred from inbox_id) attachments: Comma-separated attachment IDs from upload_attachment (optional)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes
htmlNo
textNo
subjectYes
inbox_idNo
reply_toNo
domain_idNo
thread_idNo
attachmentsNo
from_addressNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description bears full responsibility for behavioral disclosure. It mentions that attachments require prior call to upload_attachment and that domain is inferred from inbox_id. However, it does not disclose what happens on failure, rate limits, authentication requirements, or how the output looks. Decent but incomplete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is moderately concise given 10 parameters. It starts with a clear one-liner, then breaks into explanatory notes and parameter definitions. Some redundancy exists (e.g., repeating 'optional'), but overall well-organized and front-loaded. Could be slightly tighter.

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?

Considering the tool's complexity (10 params, 2 required, no annotations, has output schema), the description covers key aspects: how to send with html/text, reply in thread, attach files, and parameter defaults. It omits error handling and return format, but the output schema likely covers the latter. Adequate for effective use.

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

Parameters5/5

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

Input schema coverage is 0%, so the description must compensate. It provides detailed explanations for all 10 parameters in the Args section, including that 'to' accepts comma-separated values, 'attachments' expects IDs from upload_attachment, and 'inbox_id' triggers automatic domain inference. This adds significant meaning beyond the schema.

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?

The description opens with 'Send an email message,' which clearly states the tool's purpose. It specifies the resource (email) and action (send). However, it does not explicitly distinguish this tool from sibling tools like send_sms or list_threads, though the context makes it generally clear.

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 usage guidance: it explains that inbox_id is sufficient for sending, that html or text can be provided, how to reply via thread_id, and how to attach files using upload_attachment. It does not mention when not to use this tool versus alternatives, but the guidance for execution is solid.

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/shanjairaj7/commune-mcp'

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