Skip to main content
Glama

list_campaigns

Read-onlyIdempotent

List campaigns with status, counts, and the lead-source they pull from. Supports cursor pagination + status filter. Returns one page (default 50, max 200); pass meta.nextCursor back as cursor for the next. Use get_campaign for one campaign's full sequence and settings.

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
limitNoPage size. Default 50, max 200.
cursorNoOpaque pagination cursor from a previous response's meta.nextCursor
statusNoOnly campaigns in this status: draft, active, paused or completed. Omit for all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With annotations already covering read-only, idempotent, and non-destructive behavior, the description adds useful operational detail about pagination: one page returned, default 50, max 200, and using meta.nextCursor as the next cursor. It also states what the list includes, though it does not describe ordering or empty-result behavior.

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?

The description is front-loaded with the core purpose, then gives pagination mechanics and a sibling alternative. Every sentence contributes useful information with no apparent padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only list tool with three optional parameters and no output schema, the description covers return contents, paging behavior, page-size limits, cursor reuse, and the main alternative. Nothing essential for correct invocation appears missing.

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%, so the schema already documents limit, cursor, and status semantics. The description reinforces pagination and status filtering, but adds little meaning beyond the schema's own parameter descriptions.

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 uses a specific verb and resource ('List campaigns') and adds the returned dimensions (status, counts, lead-source). It clearly distinguishes the list operation from the single-campaign sibling by naming get_campaign for one campaign's full details.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It tells the agent to use this tool for listing campaigns and explicitly routes single-campaign detail needs to get_campaign. It also mentions the status filter and cursor pagination, giving clear usage context without leaving the main alternative implicit.

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