Skip to main content
Glama
Sendmux

Sendmux Email Inbox API + Sending

Official

Batch Get Messages

mailbox_batch_get_messages
Read-onlyIdempotent

Retrieve multiple email messages by their IDs in a single call, reducing API calls after a search or when handling several message IDs.

Instructions

Use this when the user supplies several message IDs or a prior search returns multiple candidates. It avoids repeated single-message calls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNoMessage IDs to fetch, maximum 100.
partNoBody part to return when body_mode is not `none`.
body_modeNoBody shape to include for each message.
mailbox_idNoMailbox public ID to target when the credential grants access to more than one mailbox. Omit when the credential is scoped to exactly one mailbox.
include_htmlNoWhen true, include HTML content when available.
strip_quotesNoWhen true, remove quoted reply text.
include_linksNoWhen true, include links extracted from the body.
max_body_charsNoMaximum body characters per message before truncation.
include_headersNoHeader detail to include in each message.
strip_signatureNoWhen true, remove detected email signatures.
include_attachmentsNoAttachment detail to include. Contents are not returned.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already provide strong behavioral cues (readOnly, idempotent, non-destructive). The description adds little beyond noting efficiency gains, so it meets a baseline level without contradicting annotations.

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?

The description is concise (two sentences) and front-loaded with the core purpose. Every sentence serves a distinct role—usage and avoidance of alternatives—with no wasted words.

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 the tool's complexity (11 parameters, but all well-documented in schema) and the presence of output schema and rich annotations, the description is adequately complete. It could mention return details, but the annotations and schema fill the gap, so a 4 is appropriate.

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?

With 100% schema description coverage, the schema already documents all parameters. The description does not add extra semantic context for parameters, so it adheres to the baseline of 3.

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 explicitly states the tool's purpose: batching multiple message IDs to avoid repeated single-message calls. It clearly differentiates from the single-message tool by context.

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 guidance on when to use (several IDs or multiple search candidates) and implies when not to (single messages). Although it doesn't name alternatives explicitly, the context with sibling tools makes it understood.

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/Sendmux/sendmux-sdk'

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