Skip to main content
Glama
sean3808

bes-mcp

by sean3808

Send a reviewed draft email

mail_send

Send a reviewed email draft from the MCP-dedicated draft folder using draft_id and SHA-256 fingerprint after explicit user confirmation.

Instructions

Send a reviewed draft from the MCP-dedicated draft folder. Requires the draft_id and the matching SHA-256 fingerprint obtained from mail_draft_reply. Requires MAILATTIC_SMTP_ENV_FILE environment variable to point to a valid SMTP configuration file. Only call this after the user has reviewed the draft and explicitly confirmed to send. status='partial' means SMTP refused some recipients (see refused: address/code/reason): the message WAS sent to the accepted ones, so never call mail_send again for the same draft; create a new draft for the refused recipients only. An error does not always mean the mail was not sent: when it says the outcome is unknown or that the mail may already be delivered, verify delivery status before sending again; never re-draft and resend on your own.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
draft_idYes
fingerprintYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations (which only declare non-read-only, non-idempotent, open-world), the description discloses the MAILATTIC_SMTP_ENV_FILE configuration requirement and rich failure semantics: what status='partial' means, that accepted recipients still received the message, and that an error may not mean the mail was undelivered. This is exactly the extra behavioral context the annotations cannot carry, and nothing contradicts them.

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?

Front-loaded with the action, then prerequisites, then hard safety constraints. Every sentence carries operational weight — env requirement, review/confirmation gate, partial-send rule, unknown-outcome rule — with no restatement of the name or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a non-idempotent send operation with an output schema, the description covers the two things an agent most needs and the schema cannot express: the confirmation gate and the re-send failure modes. Return-value shape is left to the output schema, appropriately.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate, and it does: it identifies draft_id as coming from the dedicated draft folder and the fingerprint as a SHA-256 value matching that draft, obtained from mail_draft_reply. That supplies provenance and a matching requirement not present in the bare schema, though it gives no format example or guidance on fingerprint mismatch.

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 opens with a specific verb+resource ('Send a reviewed draft') and narrows the scope to drafts in the MCP-dedicated draft folder, which distinguishes it from sibling tools like mail_draft_reply that create drafts rather than send them. An agent can identify the operation and its source object without opening the schema.

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

Usage Guidelines5/5

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

It states the explicit precondition for use ('only call this after the user has reviewed the draft and explicitly confirmed to send'), points to mail_draft_reply as the source of the required fingerprint, and gives clear when-not-to-call rules for partial sends ('never call mail_send again for the same draft') and unknown-outcome errors ('verify delivery status before sending again'). This is a full when/when-not/alternative routing.

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