Skip to main content
Glama

List email campaigns

list_campaigns
Read-onlyIdempotent

Email campaigns in the workspace, newest first, name, subject, status, audience size, sent count, and schedule. Read-only: this never sends or schedules a campaign.

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
limitNoMax campaigns, 1-200 (default 50).
statusNoOnly campaigns in this status.

Output Schema

NameRequiredDescriptionDefault
okNo
errorNoPresent only when ok is false.
campaignsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuine value by disclosing the result ordering ('newest first') and by explicitly ruling out the dangerous side effect in this domain ('never sends or schedules a campaign'), which is the main confusion risk next to send_email.

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?

A single compact statement with the important scoping and ordering information front-loaded. The enumerated return fields ('name, subject, status, audience size, sent count, and schedule') are partly redundant given an output schema exists, costing a little tightness.

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?

An output schema exists, so the return-value enumeration is optional, and the annotations cover idempotency and safety. The description supplies ordering and the no-send guarantee, and omits nothing critical for a two-optional-parameter read tool.

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% with two parameters, both fully documented in the schema including the enum values and the default. The description adds no filtering or limit semantics beyond that, so the baseline of 3 applies.

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?

The description names the resource ('Email campaigns in the workspace') and the attributes returned, plus ordering ('newest first'), so an agent can tell it apart from list_automations or list_contacts. It never states the verb 'list' explicitly in a sentence, relying on the tool name to imply it, which keeps this from 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?

Usage is only implied: an agent can infer this is the read path for campaigns because the description contrasts it with sending/scheduling. There is no explicit 'use this when...' or a named alternative such as send_email or list_automations for related reads.

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