Skip to main content
Glama

Campaign analytics over time

argorant_campaign_analytics
Read-onlyIdempotent

Use it when the user asks "how is this campaign trending?" or "which subject line won?". You get one campaign day by day (sent, replies, positive replies, bounces, unsubscribes) with totals, rates and the result of every email version. For launch blockers use argorant_get_campaign, and to compare campaigns argorant_list_campaigns. totals.reply_rate counts every reply, out of office and auto replies included, of the people contacted; it is the only reply rate. totals.positive_share_of_replies is the positive replies as a percent of the people who replied. variants shows the results of every version of each email; best (also given as leader) marks the most positive replies per email sent, or with none yet the highest reply rate (best_by says which). early marks versions with fewer than 200 sends, mostly chance. Versions marked removed are no longer sent. More in the docs at https://docs.argorant.com/docs/agents/tools#analytics-mailbox-settings-blocklist

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "argorant_campaign_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days to show, 1 to 365 (default 30).
campaign_idYesThe campaign's id, from argorant_list_campaigns.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, non-destructive, closed-world), so the description is free to add analytic semantics — and it does: reply_rate counts out-of-office and auto replies, positive_share_of_replies is measured against people who replied, best/leader picks by positive-per-sent with a best_by fallback, early flags versions under 200 sends, and removed marks dead versions. It does not mention timezone/day-boundary handling or pagination limits for a 365-day window, which is the remaining behavioral gap.

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 usage triggers and the routing alternatives before the metric definitions, which is the right order. It is dense and mostly earns its length, but the trailing docs link points at an anchor (#analytics-mailbox-settings-blocklist) only loosely related to this tool, and the rate definitions could be tightened.

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?

An output schema exists, yet the description's definitions of derived fields (reply_rate, positive_share_of_replies, best/leader, early, removed) resolve genuine ambiguity in how those values are computed — exactly what an agent needs to interpret results. Combined with the alternatives and scope, nothing required to select or call this tool 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% and both parameters (campaign_id, days) are already documented with bounds and defaults, so the baseline of 3 applies. The description says "one campaign day by day" but adds no new meaning about the days window or id sourcing beyond what the schema states.

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: day-by-day analytics for one campaign, with an enumerated metric list (sent, replies, positive replies, bounces, unsubscribes) plus totals, rates and per-variant results. It explicitly separates itself from argorant_get_campaign (launch blockers) and argorant_list_campaigns (comparison), so an agent can pick it without opening any schema.

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?

Opens with concrete user phrasings ("how is this campaign trending?", "which subject line won?") that map directly to this tool. It then names two exclusions with the sibling that covers each case, leaving no inference needed about when to route elsewhere.

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.