Skip to main content
Glama

Email batches

list_email_batches
Read-onlyIdempotent

The workspace's email batches, newest first, as Email → Batches lists them: each with its state, who it went to, from which addresses, which emails, and its figures (sent, reached, bounced, failed, opened where tracked, complaints, unsubscribes), a sequence as one row with its emails summed. get_email_batch opens one.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_email_batches"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this as a read-only, idempotent, non-destructive, closed-world operation. The description adds useful behavioral context beyond those annotations: ordering is newest first, each row includes state, recipients, sender addresses, associated emails, and detailed figures, and sequences are aggregated into one row with email counts summed. It does not discuss pagination or what happens when the limit is reached.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the main purpose and resource, followed by the output shape and sibling routing. It is dense but not wasteful, though the single long sentence packs many field details and could be easier to scan if split.

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 read-only list tool with no output schema, the description does a good job explaining the returned batch shape, ordering, and sequence aggregation. It is mostly complete, but the limit parameter's pagination behavior is not covered, and that is a meaningful omission for a list operation.

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

Parameters2/5

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

The schema has one parameter, limit, with 0% schema description coverage, so the description should explain its meaning and default behavior. The description never mentions limit, result count, pagination, or the default of 20 and maximum of 50, leaving the parameter's behavioral effect undocumented.

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 states a specific verb and resource: listing the workspace's email batches, newest first. It also distinguishes the tool from the sibling get_email_batch by saying that get_email_batch 'opens one,' so the agent can tell listing from detail retrieval without opening either schema.

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 gives clear implied guidance: use this tool to see email batches as the Email → Batches view lists them, and use get_email_batch to open a single batch. It does not explicitly mention exclusions or alternatives such as search, but the list-vs-detail routing is clear.

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.

Resources