Skip to main content
Glama

Send email batch

send_email_batch
Destructive

Send up to 100 emails in one call; each entry has the same shape as send_email. Returns one id per accepted email.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "emails": "<emails>"
    },
    "name": "send_email_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailsYesThe emails to send, same shape as send_email
idempotency_keyNoRetry key sent as the HTTP Idempotency-Key header, not an email header. Scoped to the selected team for 24 hours: reuse with the same payload to replay the original ids; a different payload or concurrent request returns 409. Use one key per send or batch.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=true, so the bar is lower. The description adds genuine value with 'one id per accepted email', which signals partial acceptance is possible, but it never states whether the batch is atomic or whether rejected entries fail the whole call, and it omits rate-limit or retry behavior.

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?

Two compact clauses, front-loaded with the capability and scale limit before the return contract. Every phrase carries information; nothing is padded or repeated.

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?

With no output schema, the description does its job of stating the return value (one id per accepted email), and idempotency is thoroughly covered by the schema. The remaining gap is batch failure semantics — what happens to the other entries when one is rejected — which matters for a destructive, open-world send.

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 description coverage is 100%, so both parameters, including extended idempotency_key semantics (24-hour team scoping, 409 on payload mismatch), are fully documented in the schema. The description's 'same shape as send_email' merely restates the emails parameter description and adds no new meaning.

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 (send) and resource (emails) with the batching scope made explicit: 'up to 100 emails in one call'. It also anchors the item shape to the sibling send_email, so an agent can distinguish batch vs single-send without opening another schema.

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?

Usage is only implied by the batching limit and the reference to send_email's shape; there is no explicit statement such as 'use this instead of send_email when sending many messages'. No when-not guidance, no exclusions, and no mention of prerequisites like sender verification.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.