Skip to main content
Glama

Scribe Mail

List marketing campaigns

list_marketing_campaigns
Read-onlyIdempotent

List the workspace's marketing campaigns (signature banners), each with its status, schedule, targeting and content block tree. Use it to find a campaign's id before update_, schedule_, pause_, resume_, delete_ or preview_marketing_campaign; there is no single-campaign get and no server-side filter, so pick the campaign from this list. To see the rendered banner rather than its block tree, use preview_marketing_campaign. An active campaign with behaviour replace hides the signature's own buttons and banner images in the emails it reaches; get_signature_html shows it for one recipient. Read-only. Returns one page by default; set auto_paginate to fetch up to max_pages pages in one call, and truncated: true means more remain, so call again with a later page.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "context": "<context>"
    },
    "name": "list_marketing_campaigns"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page (default 1).
limitNoPage size, 1–100 (default 50).
contextYesExplain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as "a user", "the customer", or "an account". Example: "Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution."
max_pagesNoPage cap when auto_paginate is true (default 5).
auto_paginateNoFetch multiple pages up to `max_pages` (default false).

Output Schema

NameRequiredDescriptionDefault
dataYes
truncatedYesTrue when auto_paginate stopped at max_pages with more results remaining.
paginationYes
pages_fetchedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / data / items / properties / name / description
      Added value: +"Campaign name. Null for a legacy draft that was saved without one. Report it as an unnamed draft and refer to it by its id rather than inventing a name."
    • changedOutput schema / properties / data / items / properties / name / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  2. Changed6 schema fields changed
    • removedOutput schema / properties / data / items / properties / end_time / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / end_time / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / start_time / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / start_time / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / time_zone / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / time_zone / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnlyHint/idempotent annotations, it discloses a non-obvious domain interaction: an `active` campaign with `behaviour` `replace` hides the signature's own buttons and banner images in reached emails, with get_signature_html as the per-recipient check. It also documents pagination behavior and the meaning of `truncated: true`, which annotations cannot convey.

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?

Front-loaded with purpose, then id-discovery routing, then the preview alternative, then behavior, then pagination — a sensible ordering. It is dense and packs several clauses into single sentences, but no sentence is filler given the tool's complexity.

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?

Covers everything an agent needs for a paged, read-only list: how to locate a target id, which sibling to use instead for rendered output, a behavioral caveat about active/replace campaigns, and how to continue paging. An output schema exists, so return-value documentation is not required.

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?

Schema coverage is 100%, so the baseline is 3, and the description adds a genuine operational detail the schema lacks: the auto_paginate/max_pages loop and the instruction to call again with a later `page` when truncated is true. It does not add much about `context` or `limit`, but the paging semantics are the part that actually affects correct invocation.

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?

States a specific verb and resource ('List the workspace's marketing campaigns (signature banners)') and immediately characterizes the payload ('status, schedule, targeting and content block tree'). It also distinguishes itself from non-existent alternatives by noting 'there is no single-campaign get', so an agent knows this is the only enumeration path.

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?

Explicitly says when to use it ('to find a campaign's id before update_, schedule_, pause_, resume_, delete_ or preview_marketing_campaign') and names the alternative for a different need ('To see the rendered banner rather than its block tree, use preview_marketing_campaign'). Both the selection condition and the exclusion are stated rather than implied.

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.