Skip to main content
Glama

List Campaign Plans

list_campaign_plans
Read-only

List campaign plans: forecast plans of type Campaign with their campaign facts (externalSource/externalId, kind, channels with planned spend, hero items, offer, audience, markets, planned reach, recorded actuals) and status (Draft, Scheduled, Active, Completed, Retired). Newest start date first; paged with limit (default 25, max 100) and offset, reporting a pre-paging Total.

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

Input Schema

NameRequiredDescriptionDefault
limitNoPage size (default 25, max 100).
offsetNoZero-based row offset for paging (default 0).
clientIdNoOptional client id (GUID) for operator (unpinned) credentials on 3PL tenants: lists only that client's campaigns — get ids from list_clients. Client-pinned credentials omit this; the credential decides.
externalSourceNoOnly campaigns from this external source (e.g. meta_ads).

Output Schema

NameRequiredDescriptionDefault
okNo
limitNo
plansNo
totalNo
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish a safe read (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the bar is lower, and the description still adds real behavior: deterministic ordering ('Newest start date first'), paging semantics with default 25 and max 100, and a pre-paging Total. It does not discuss empty-result behavior or whether Total reflects filters, but the added context is substantive.

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 core action and scope are front-loaded before the long parenthetical, and the ordering/paging facts follow in one compact sentence. The enumerated field list is dense but each item tells the agent what a plan record carries, so nothing is filler.

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 four-parameter listing tool with full schema coverage, an output schema, and read-only annotations, the description covers scope, ordering, and paging adequately. Its main redundancy is enumerating returned fields that the output schema already defines, while filter interactions with Total go unmentioned.

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, offset, clientId and externalSource in detail. The description only restates the limit default/max and offset directly from the schema and adds nothing about clientId's operator-credential nuance or externalSource filtering, so baseline 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 a specific verb and resource ('List campaign plans') and immediately narrows scope to 'forecast plans of type Campaign', so an agent knows exactly what entity set is returned. It does not distinguish this tool from siblings such as get_campaign_results or preview_campaign_plan, leaving that differentiation implicit.

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: the tool lists campaign plans, so an agent can infer it should be used for enumeration rather than for readiness or results lookups. There is no explicit when-to-use, when-not-to-use, or named alternative (e.g. get_campaign_results for actuals analysis), so guidance remains inferential.

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