Skip to main content
Glama

Get Campaign Bounces

get_campaign_bounces
Read-onlyIdempotent

Lists the bounces of one email campaign of the signed-in Mailpro account: the address, the date and the reason given by the receiving mail server. Hard bounces (permanent failures) by default; set type to soft for temporary failures such as a full mailbox.

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "get_campaign_bounces"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1.
typeNohard (permanent failures, default) or soft (temporary failures).hard
emailNoOptional: only addresses containing this text. Leave empty for all.
page_sizeNoBounces per page, 1 to 50. Default 20.
campaign_idYesCampaign id, from list_campaigns.

Output Schema

NameRequiredDescriptionDefault
pageYes
bouncesYes
has_moreYesTrue when a next page may exist.
page_sizeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. Beyond that, the description adds real behavioral context: the default hard-bounce filtering, the definition of hard vs soft failures, and the shape of each returned record. It says nothing about result volume limits or account permissions, so it is not a 5.

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 sentences, front-loaded with the resource and scope, followed by the filtering nuance. Every clause carries information and there is no boilerplate.

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 paginated list tool with an output schema and full parameter documentation, the description covers purpose, filtering defaults, and record contents adequately. It omits pagination/iteration expectations, which the schema supplies but the description could have reinforced.

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 100%, so all five parameters are already documented, including the hard/soft type values. The description largely restates the type parameter's enum meaning, adding only the 'full mailbox' example — useful but marginal against a fully documented schema, so the baseline 3 is appropriate.

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?

States a specific verb and resource: it lists bounces for a single email campaign scoped to the signed-in account, and it enumerates the returned fields (address, date, reason). It does not explicitly distinguish itself from a sibling such as get_campaign_statistics, which an agent might reasonably guess also surfaces bounce data, so it falls short of a 5.

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 useful in-tool guidance for choosing between hard and soft bounce types, including the default. However, it offers no when-to-use context relative to alternatives and no explicit exclusions, leaving usage selection only implied.

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