Skip to main content
Glama
WEYERSK

IMAP MCP

by WEYERSK

send_message

Send email with two-step confirmation: preview the exact message and get a token, then confirm to deliver and file a copy in Sent folder.

Instructions

Send a new mail. The first call returns a preview of the exact message plus a confirmation_token and sends nothing. Call again with identical arguments, commit=True and that token to actually send. A copy is filed in the Sent folder. attachments are local file paths.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNo
toNo
bccNo
bodyNo
commitNo
accountNo
subjectNo
html_bodyNo
attachmentsNo
confirmation_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations available, the description carries the full burden and does a strong job: it discloses the non-sending preview, the required commit token flow, the Sent-folder copy, and the local-path requirement for attachments. It omits some details like error behavior and token expiration, but the critical behavioral traits are transparent.

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?

Three tight sentences with no filler. The most important behavioral caveat, the preview-then-commit sequence, is front-loaded, and each sentence contributes unique information.

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 tool with no output schema and no annotations, the description covers the full calling protocol, side effects, and the token requirement. Minor gaps remain around exact preview return structure, error cases, and account selection, but an agent has enough to invoke it correctly.

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 0%, so the description must compensate. It adds meaningful semantics for attachments, commit, confirmation_token, and 'identical arguments'. However, most parameters like to, cc, bcc, body, html_body, and account are left to inference from their names.

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 clearly states the action as 'Send a new mail' and adds the two-call preview/commit behavior. The word 'new' distinguishes it from reply_to_message, though it does not explicitly name alternatives like create_draft.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives concrete procedural instructions: first call previews and returns a token, second call with commit=True actually sends. However, it does not explicitly say when to prefer this tool over siblings such as create_draft or reply_to_message, or when not to use it.

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