Skip to main content
Glama

List campaign steps

list_steps
Read-onlyIdempotent

List the email steps of a campaign in order, each with delay_days, subject, body, format and its A/B variants (labels A-D, active flag). Use the step ids with update_step, delete_step and add_variant. Also returns nodes: conditions, manual/call tasks and address checks drawn on the canvas, each with after_position = the gap it sits in (0 = before step 1, N = after step N; a condition gates the step right below it).

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": {
      "id": "<id>"
    },
    "name": "list_steps"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCampaign id (uuid).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile needs no restating. The description adds genuinely non-obvious behavior: results come back in campaign order, and the response includes a separate `nodes` collection alongside steps. It leaves out error cases (invalid campaign id) and whether `nodes` is always present, which keeps it short of a 5.

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 the core action, then follow-on usage, then the secondary return payload — a sensible information order with no filler sentences. The second sentence is dense, packing three node types, the after_position definition and the gating semantics into one multi-clause parenthetical, which costs some readability.

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?

There is no output schema, so describing return values is the description's job, and it does that thoroughly: step fields, A/B variant labels A-D with an active flag, plus the node collection and the meaning of after_position including edge cases (0 = before step 1, condition gates the step below). For a one-parameter read tool with annotations covering safety, nothing an agent needs to call it correctly is missing.

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 coverage is 100% for the single `id` parameter (campaign uuid), so the schema carries the parameter meaning entirely. The description adds nothing about the id beyond implying it identifies the campaign being listed. Baseline 3 is correct when the schema already documents the only input.

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 email steps of a campaign') and immediately scopes the result: ordered, with delay_days, subject, body, format and A/B variants. It also names the unexpected second payload ('nodes': conditions, manual/call tasks, address checks), so an agent knows this is not a plain step list. That is enough to tell it apart from get_campaign or campaign_summary without opening a 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?

Gives concrete downstream routing: 'Use the step ids with update_step, delete_step and add_variant,' which tells the agent this is the read step that precedes those mutations. It does not state when to prefer this over get_campaign or campaign_summary, so the alternative selection is only partially covered.

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.