Skip to main content
Glama

graph_send_message

Send email via Microsoft Graph API for personal Microsoft accounts where SMTP is blocked. Supports attachments, HTML/plain text, CC/BCC, and threading.

Instructions

Send email via Microsoft Graph API (required for personal hotmail/outlook.com accounts where SMTP is blocked)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoCC recipients (optional, max 50)
toYesRecipient email addresses (1..50)
bccNoBCC recipients (optional, max 50)
subjectYesEmail subject (1..998 characters)
reply_toNoReply-To address (optional)
body_htmlNoHTML body (at least one of body_text or body_html required)
body_textNoPlain text body (at least one of body_text or body_html required)
account_idNoAccount identifier (defaults to `"default"`)default
referencesNoReferences header for threading (optional)
attachmentsNoFile attachments (optional, base64-encoded)
in_reply_toNoIn-Reply-To message ID for threading (optional)
save_to_sentNoSave to Sent Items folder (default: true)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesTool-specific data payload
metaYesExecution metadata (timestamp, duration)
summaryYesHuman-readable summary of the operation outcome

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.12

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries much of the behavioral burden. The top-level description only says 'via Microsoft Graph API', while the schema's own description adds that it uses POST /me/sendMail and requires OAuth2 with Mail.Send. The behavior is available to the agent through the schema, but the description itself adds no extra behavioral insight.

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?

A single imperative sentence with a tightly scoped parenthetical manages to convey both the action and the prime usage condition with zero filler.

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?

The combination of the compact description and the rich schema (100% param coverage, output schema, nested attachment definition) gives the agent everything needed to invoke it. The only thing absent from the description/schema is an explicit comparison to smtp_send_message, but the attention-grabbing definition is sufficient.

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 description does not mention any of the 12 parameters, but the schema provides 100% description coverage for every field, so the baseline of 3 applies. The schema fully describes recipients, subject, bodies, attachments, and threading fields.

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?

States a specific verb and target (send email via Microsoft Graph API) and immediately gives the critical use-case context (required when SMTP is blocked for personal hotmail/outlook.com accounts). This clearly separates it from sibling SMTP/EWS/IMAP senders.

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 parenthetical gives a clear condition for choosing this tool: personal hotmail/outlook.com accounts where SMTP is blocked. It does not explicitly name the preferred alternative (e.g., smtp_send_message) or describe when NOT to use it, but the context is clear enough.

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