Skip to main content
Glama

List campaigns

list_campaigns
Read-only

Campaigns this workspace manages, with state, budget and platform-reported spend, installs and (where the channel reports them) purchases in the window.

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
windowNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without description help. The description does add value beyond that: it discloses the exact metric set returned and flags a real data caveat ("where the channel reports them") for purchases, warning that some fields may be absent. It does not cover pagination, result limits, or what an empty workspace yields.

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 sentence with no filler, and the workspace scope plus metric list are front-loaded. The trade-off is that extreme brevity produces a verbless fragment rather than a stated action, so it is tight but slightly under-structured.

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

Completeness3/5

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

For a read-only, single-optional-parameter list tool with no output schema, the description does cover the shape of the returned data, which is the main thing an agent needs. Gaps remain: no default for `window`, no indication of whether all campaigns are returned or a capped set, and no routing versus get_campaign or get_overview.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description carries the burden for the single `window` parameter. It only says metrics are "in the window," which hints that window scopes the reported spend/installs/purchases, but never states the unit (days) or what happens if the parameter is omitted — though it is optional. The enum values 7/14/30/90/365 imply days, but that inference is left to the reader.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource ("Campaigns this workspace manages") and enumerates the returned fields (state, budget, spend, installs, purchases), which implies a read/list operation. However, it is a sentence fragment with no verb and never explicitly says it returns a list, nor does it differentiate itself from siblings like get_campaign or get_overview. An agent can guess the purpose but must infer the operation.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance. The description never contrasts this with get_campaign (single campaign), get_overview (aggregate metrics), or get_spend_audit, leaving the agent to infer routing from sibling names alone. The workspace scoping is the only usage-adjacent detail.

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