Skip to main content
Glama

campaigns_signals

Delivery, interest, and harm — each an exact binomial test against the workspace thresholds, answering whether a result is genuinely bad or merely early.

Read delivery first. It counts out-of-office auto-replies, which mail providers suppress for messages filed as spam, making it a measure of inbox placement that is independent of the offer. The test reads business recipients only — counts.business_auto_replies of counts.business_sends — because personal mailboxes (Gmail, Outlook.com / Hotmail) rarely set an out-of-office; delivery.sample_size is therefore the business sends, not all sends. When delivery fails, interest returns status="blocked" and must not be interpreted: reply rate confounds placement with persuasion, and a message that never arrived cannot be judged on its writing.

Human responses overrule a delivery failure. A genuine reply or an unsubscribe proves a person had the message in front of them, so when (genuine replies + unsubscribes) / sends alone reaches the expected auto-reply rate, a failed auto-reply test becomes pass with confirmed_by_replies: true (the name covers both) and interest is read normally. The same rate also confirms delivery when fewer than min_sample sends went to business recipients, so a consumer-only campaign is judged on its responses.

mailboxes breaks delivery down per sending mailbox: counts / delivery for this campaign's sends, and other_counts / other_delivery for the same mailbox in the workspace's other active or paused campaigns. When delivery fails, delivery_diagnosis reads that comparison: kind="mailbox" (the listed mailboxes fail elsewhere too — fix infrastructure), "content" (they deliver fine elsewhere — fix this campaign's copy/links), or "unknown" (no comparison volume). It is null unless delivery failed.

Each signal returns status (pass / fail / inconclusive / blocked), the observed rate, an exact Clopper-Pearson confidence interval, and the p-value against the threshold. inconclusive means the sample is too small to decide, not that the result is bad — check sends_to_conclude for how many more sends are needed.

Every rate in the response is a proportion, not a percentage: 0.02 means 2%. (The workspace settings that configure the thresholds are percentages; the conversion happens server-side.)

variant_count does not enter the arithmetic. It states how many distinct template renderings produced the sample, so a negative verdict on a single variant is read as evidence about that configuration rather than about the audience.

Optional ?days=N restricts the window (default: all time).

compliance_monitor is the auto-pause monitor's own rolling 7-day view (it ignores days): status (ok / warn / over_threshold / paused / insufficient_data), hard_bounce (warn 2%, pause 3%, at least 50 sends) and unsubscribe (warn 2%, pause 5%), each with rate, count, sent, level; and auto_paused_at / auto_pause_reason when the monitor paused the campaign. Resume a paused campaign with campaigns_activate; the monitor then waits 24 h before it can pause it again.

Method: GET /api/v1/workspaces/{workspace_sqid}/campaigns/{sqid}/signals/

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>"
    },
    "name": "campaigns_signals"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoRestrict to the last N days (max 365). Omit for all time.
sqidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does far more than required: it discloses the HTTP method (GET), that all rates are proportions rather than percentages while workspace settings are percentages, that compliance_monitor is a fixed rolling 7-day window ignoring `days`, the exact warn/pause thresholds and minimum send counts, and the 24-hour re-pause cooldown. It also documents the side-effect path (resume via campaigns_activate) and the null-behavior of delivery_diagnosis.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Bold section markers give it usable structure and the 'read delivery first' ordering is well front-loaded, but the prose is dense and repetitive, spending many sentences on statistical interpretation nuance (Clopper-Pearson, confirmed_by_replies reasoning) before the agent has been told plainly what the tool returns. Length is partly justified by the absence of an output schema, but tighter phrasing would preserve the same information.

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?

For a complex multi-signal diagnostic with no output schema and no annotations, the description covers the response surface thoroughly: per-signal status enums, rates, confidence intervals, p-values, sends_to_conclude, the mailboxes comparison and delivery_diagnosis kinds, and the compliance_monitor block. The remaining gap is the top-level response envelope — it never says how the blocks are keyed or nested in the returned object.

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 50%: `days` is documented in the schema (max 365) and the description adds that it defaults to all time and is ignored by compliance_monitor, which is genuine added meaning. `sqid` has no schema description and is never explained in the text, though it is self-evident as the campaign identifier in the stated path. The description compensates for one gap but not both.

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 names the three signal families (delivery, interest, harm) and says they are exact binomial tests against workspace thresholds, which is specific enough that an agent can distinguish this diagnostic tool from campaigns_stats or campaigns_get. It never states the purpose in a single clean verb+resource sentence (e.g. 'returns deliverability and compliance signals for a campaign'), so the agent must assemble the purpose from the body text.

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 real operational guidance: read `delivery` first, do not interpret `interest` when delivery is blocked, check `sends_to_conclude` when a result is inconclusive, use `campaigns_activate` to resume an auto-paused campaign, and that `days` is ignored by compliance_monitor. It stops short of naming an alternative sibling signal tool (e.g. workspaces_signals vs this campaign-scoped one) or stating when not to call it.

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.