Skip to main content
Glama

Get campaigns

campaignstack_get_campaigns
Read-onlyIdempotent

Read campaigns and optional campaign planning details in one stable collection envelope. Use this when the user needs campaign identity, ICP, personas, roadmap, topics, weights, metrics, automations, job history, guidance history, ICP match scores, or the topic vocabulary (include.topicVocabulary, the ids a campaign topic can be set to). Pass include.personas.ids or include.roadmap.ids to target one specific persona or phase directly instead of scanning the capped list, and include.icpScores.icpId to read match scores for one ICP. Omit ids to list matching records, pass one id for one record, or pass several ids for several records. The response still uses the same collection envelope. Use include only for extra details the user asked for. Large, computed, historical, or external includes must use their documented caps and must report when data is truncated or paginated. This read-only tool does not change data. Instead use campaignstack_get_workspaces for workspace-level setup, and campaignstack_get_identities for sender accounts or voice. The result returns items, pagination, missingIds when requested ids are unavailable, and warnings for capped includes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNoOptional entity ids to fetch, capped at 50.
limitNoMaximum items to return, capped at 50.
cursorNoOpaque pagination cursor.
filtersNo
includeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsNo
warningsNo
missingIdsNo
paginationNo
topicVocabularyNoPresent when include.topicVocabulary was requested.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / include / properties / metrics / description
      Previous value: -"Campaign metric rows."New value: +"Daily campaign metric rows, newest first. Each row counts people, campaign to date, as of the end of its UTC date: totalLeads (in the campaign), leadsContacted (sent a connection request, message or email by this campaign), leadsResponded (contacted people who replied on the account the campaign wrote from), leadsConverted (contacted people who booked a meeting afterwards), leadsAdded (in the campaign and not contacted yet), leadsFailed (a workflow step failed for them), avgMatchScore (mean ICP match). The newest row holds the current totals; rows dated before 2026-10-09 may still carry older workflow-step counts."
  2. Changed4 schema fields changed
    • changedInput schema / properties / filters / properties / workspaceId / description
      Previous value: -"Workspace ID. REQUIRED for a user key (csu_), which spans every workspace you belong to; omitted for a workspace key (cs_), which is bound to one and ignores this argument. campaignstack_whoami reports which kind of key you are holding and, for a user key, the workspaces it can reach."New value: +"Workspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too."
    • addedInput schema / properties / include / properties / topicVocabulary
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The topic taxonomy a campaign can focus on: every topicId, exact name and category the topic operation of campaignstack_edit_campaign accepts. Returned once at the top level as topicVocabulary, even when no campaign matches. Filter with category.",
      +  "properties": {
      +    "category": {
      +      "description": "Only topics in this taxonomy category.",
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "limit": {
      +      "default": 100,
      +      "description": "Capped at 100.",
      +      "maximum": 100,
      +      "minimum": 1,
      +      "type": "integer"
      +    }
      +  },
      +  "type": "object"
      +}
    • changedInput schema / properties / include / properties / topics / description
      Previous value: -"Campaign topic weights."New value: +"Campaign topic weights, plus the topics the workspace's search watches are active on."
    • addedOutput schema / properties / topicVocabulary
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Present when include.topicVocabulary was requested.",
      +  "properties": {
      +    "categories": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "topics": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "category": {
      +            "type": "string"
      +          },
      +          "displayName": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "topicId": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "topicId",
      +          "name",
      +          "displayName",
      +          "category"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "totalCount": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "topics",
      +    "totalCount",
      +    "categories"
      +  ],
      +  "type": "object"
      +}
  3. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources