Skip to main content
Glama

List campaigns

list_campaigns
Read-onlyIdempotent

Every campaign on this Pipefire account with its status, market, people contacted, replies, interested leads, meetings and next send. Use the id with pause_campaign or resume_campaign.

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

No arguments

Output Schema

NameRequiredDescriptionDefault
kindNoWhich in-chat Pipefire card draws this result. Absent when there is nothing to draw.
linkYesLink to the campaigns page in the Pipefire console.
rowsYesEvery campaign on the account. Empty when there are none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "kind": {
      +      "description": "Which in-chat Pipefire card draws this result. Absent when there is nothing to draw.",
      +      "type": "string"
      +    },
      +    "link": {
      +      "description": "Link to the campaigns page in the Pipefire console.",
      +      "type": "string"
      +    },
      +    "rows": {
      +      "description": "Every campaign on the account. Empty when there are none.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "contacted": {
      +            "description": "People emailed so far.",
      +            "type": "integer"
      +          },
      +          "id": {
      +            "description": "The campaign id, for the other campaign tools.",
      +            "type": "integer"
      +          },
      +          "interested": {
      +            "description": "Replies classed as interested.",
      +            "type": "integer"
      +          },
      +          "market": {
      +            "description": "Where and who it emails, when set.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "queued": {
      +            "description": "People with a first or next email scheduled.",
      +            "type": "integer"
      +          },
      +          "replied": {
      +            "description": "People who replied.",
      +            "type": "integer"
      +          },
      +          "status": {
      +            "description": "draft, active (sending), paused or finished.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "name",
      +          "status",
      +          "market",
      +          "contacted",
      +          "replied",
      +          "interested",
      +          "queued"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "link",
      +    "rows"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, so safety is fully covered. The description adds a useful scope fact (every campaign on the account, i.e., unfiltered) but says nothing about result volume, ordering, or truncation on large accounts, and its field enumeration largely duplicates the existing output schema.

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?

Two short sentences, front-loaded with scope and contents, then the actionable follow-up. No filler or restatement of the title.

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 zero parameters, rich annotations, and an output schema that documents return values, the description covers what an agent needs to choose and call it. The only real gap is behavior on large accounts, such as pagination or result caps.

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

Parameters4/5

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

The tool takes zero parameters, which sets the baseline at 4. The description does add one piece of meaning by clarifying that the campaign id surfaced in the listing is the key to use with pause_campaign and resume_campaign.

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 resource ('every campaign on this Pipefire account') plus the exact fields returned (status, market, people contacted, replies, interested leads, meetings, next send), which distinguishes this account-wide listing from the singular get_campaign sibling without needing the 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 gives clear context for the tool's role and an explicit downstream path ('Use the id with pause_campaign or resume_campaign'), which tells the agent how the output feeds other calls. It does not, however, state when to prefer this over get_campaign or results, so it stops short of full alternative routing.

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.