Skip to main content
Glama

List Campaigns

list_campaigns
Read-onlyIdempotent

Lists the email campaigns of the signed-in Mailpro account, most recent first, with their main counters (sent, opens, clicks, bounces, unsubscriptions). Use it to find a campaign id. Dates are Mailpro server time (Central European Time).

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_campaigns"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1.
page_sizeNoCampaigns per page, 1 to 50. Default 20.

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description's job is to add operational context, which it does: result ordering, the counted fields returned, and that dates follow Mailpro server time (CET). It does not mention result-set size or how paging interacts with 50+ campaigns.

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?

Three short sentences, front-loaded with the core action and scope, then usage hint, then the timezone caveat. No filler and nothing redundant with the schema or annotations.

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 an output schema present, return values need not be explained, and the description still usefully previews the counters. The only minor gap is that paging behavior across many campaigns is left entirely to the schema.

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% and both parameters (page, page_size with defaults and 1-50 range) are fully documented in the schema. The description adds only the implicit ordering ('most recent first'), which is mildly useful for reasoning about pagination but does not deepen parameter meaning.

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 ('Lists the email campaigns of the signed-in Mailpro account') plus scope details: ordering (most recent first) and content (main counters). It also signals a secondary intent ('Use it to find a campaign id'), which hints at the boundary with get_campaign without explicitly naming it.

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?

'Use it to find a campaign id' gives a concrete reason to pick this tool over fetching a single campaign, and the account scoping is clear. It stops short of naming alternatives or stating exclusions (e.g., when to prefer get_campaign_statistics for metrics).

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