Skip to main content
Glama

List Campaigns

list_campaigns
Read-onlyIdempotent

List campaigns in a team with status (1 = active, 2 = inactive), draft state, sequence version, category, and contact progress metrics. Returns a compact field set (sequence and schedule settings are omitted; use get_campaign or pass fields). Filter with status "active" or "inactive"; paginated, default 50, max 100.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax campaigns to return (default 50, max 100)
TeamIdYesTeam UUID - get from list_teams (required)
fieldsNoFields to return per item: an array of field names, a comma-separated string, or "all". Default (compact): id, name, status, is_draft, version, category_id, category_name, parent_campaign_id, contact_count, contact_metrics, max_per_day, track, timezone, send_to_risk_levels, createdAt, updatedAt.
offsetNoOffset for pagination
searchNoSearch by campaign name
statusNoFilter by campaign status - active (running) or inactive (paused)
include_subsequencesNoWhen true, include subsequence (linked child) campaigns in results

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds real context beyond that: the default field set, that sequence and schedule settings are omitted, and the pagination defaults (50 default, 100 max).

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?

Dense but front-loaded: the resource and scope lead, then the return-shape caveat, then filtering and pagination. Every sentence carries information, though the packed parentheticals require a careful read.

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 no output schema, the description carries the return-shape burden and does so by naming the compact field set and what is omitted. Pagination and filtering are covered; only minor detail (ordering, whether contact metrics are per-send) is absent.

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 the baseline is 3 and the schema already documents every parameter including the compact field list and pagination limits. The description's status parenthetical ('1 = active, 2 = inactive') refers to the returned field value rather than the string enum on the parameter, which adds slight ambiguity instead of clarifying.

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?

States a specific verb (List) and resource (campaigns) scoped to a team, and explicitly distinguishes itself from get_campaign for the full field set. An agent can tell it apart from list_conversations and the mutation siblings without opening a 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?

Gives filtering guidance (status "active"/"inactive") and names get_campaign / the fields param as the escape hatch when the compact set is insufficient. It does not state explicit when-not-to-use conditions beyond that, but the routing to the sibling 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