Skip to main content
Glama

campaigns_step_logs

Paginated per-lead enrolment log for one step of one campaign. Each row includes status (int) and status_display (human label), lead sqid/name, and the latest outbound message's scheduled/sent timestamps. Use ?status=<code> to filter (0=Pending, 10=Message Created, 20=Message Approved, 30=Message Sent, 40=Replied, 50=Unsubscribed, 60=Canceled, 70=Failed). 40=Replied is any human reply (terminal: the sequence stops). Paginated with ?page= and ?per_page=.

Method: GET /api/v1/workspaces/{workspace_sqid}/campaigns/{sqid}/steps/{step_sqid}/logs/

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": {
      "sqid": "<sqid>",
      "step_sqid": "<step_sqid>"
    },
    "name": "campaigns_step_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1).
sqidYes
statusNoFilter by CampaignLog status code (0–70).
per_pageNoResults per page (default 25, max 500).
step_sqidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are supplied, so the description must disclose behavior; it does so by naming the row fields, mapping all status codes, flagging 40=Replied as terminal, and stating pagination parameters. It still omits access requirements, ordering, and rate limits, but the GET method and log framing make read-only behavior clear. This is solid disclosure without being exhaustive.

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?

The purpose is front-loaded, and the status code list, terminal note, pagination note, and endpoint each serve a concrete need. There is no filler or repetition. The structure is easy to scan.

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 no output schema, the description compensates by listing the returned row fields, including status, lead, and message timestamps. It also covers status semantics and pagination. Missing access details and response envelope metadata are minor for this complexity.

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 60%; the description adds substantial meaning for status by enumerating every code and its label, and the URL path clarifies which sqid is the campaign and which is the step. The page/per_page parameters are already documented in the schema. The remaining gap is that sqid/step_sqid are not separately described in prose, but the path supplies that mapping.

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

Purpose4/5

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

The opening sentence states a specific resource and scope: a paginated per-lead enrolment log for one campaign step. It is clear enough to distinguish from campaign-level or action-level siblings, though it does not explicitly name an alternative. A 4 rather than 5 because sibling differentiation is implicit rather than explicit.

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

Usage Guidelines3/5

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

It explains how to filter by status and paginate, but never says when this log should be used instead of siblings such as leads_campaign_logs or campaigns_action_executions. The scope phrase 'for one step of one campaign' gives implied context only. No explicit exclusions or alternatives are provided.

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.