Skip to main content
Glama

list_campaign_messages

Read-only

List your campaigns' messages and steps by status and channel — most often the pending auto-replies awaiting approval (email and/or LinkedIn), but also scheduled, sent, skipped, stopped or failed sequence steps on any channel, including calls and to-dos. Returns each reply's scheduledEmailId (_id), subject, body, channel, and the email/chat it targets — needed to approve, modify, or skip them. statuses is required: use ["approval_required"] (with sequenceStepTypes ["ai_reply"]) for the pending-auto-replies view. Optional filters: campaignId, fromEmail, targetContactId, channels; paginated via page/limit (max 100) with sortBy/sortOrder.

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": {
      "statuses": "<statuses>"
    },
    "name": "list_campaign_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
limitNo
sortByNo
channelsNo
statusesYes
fromEmailNo
sortOrderNo
campaignIdNo
sentDateToNo
sentDateFromNo
includeDeletedNo
sequenceStepIdNo
scheduledDateToNo
targetContactIdNo
scheduledDateFromNo
sequenceStepTypesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / sequenceStepId
      Added value: +{
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds value beyond them by disclosing the returned fields (scheduledEmailId, subject, body, channel, target) and the pagination cap (max 100). It stops short of explaining ordering defaults or what happens with includeDeleted, but the behavioral picture is largely complete.

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 primary use case and stays in one dense but navigable paragraph; nearly every clause adds a filter or payload fact. Minor redundancy in re-listing status values that also appear in the enum keeps it from a 5.

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 16-parameter, no-output-schema listing tool this covers the required parameter, the main filters, the return shape, and pagination limits. The date-range and soft-delete filters are the notable omissions, but an agent could still invoke the dominant approval-queue use case correctly from this text alone.

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 0% across 16 parameters, so the description must compensate and only partially does: it explains statuses (including the required-value convention), campaignId, fromEmail, targetContactId, channels, page/limit, and sortBy/sortOrder. It says nothing about sentDateFrom/To, scheduledDateFrom/To, sequenceStepId, or includeDeleted, leaving roughly a third of the surface undocumented anywhere.

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 names a specific verb and resource ('List your campaigns' messages and steps') and enumerates scope: all channels, all statuses including calls and to-dos. It clearly distinguishes the primary 'pending auto-replies awaiting approval' view from the broader sequence-step listing, so an agent can tell which mode it wants without opening a sibling 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?

It states the dominant use case and gives a concrete configuration for it ('use ["approval_required"] with sequenceStepTypes ["ai_reply"]'), plus the downstream action context ('needed to approve, modify, or skip them'). It does not explicitly name alternatives such as get_campaign_sequence_steps, but the when-to-use guidance is concrete enough to act on.

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.