Skip to main content
Glama

DripRaven WhatsApp campaigns

get_campaign_stats

Read-onlyIdempotent

Get live delivery stats for a campaign: { sent, delivered, read, failed, delivery_rate, read_rate, status }. Updates in real time as Meta delivery webhooks arrive. When sends have failed, also includes recent_errors: up to 5 recent distinct failure reasons, covering both send-time API errors and post-send delivery failures reported by Meta (prefixed with the Meta error code, e.g. 'Meta error 131049: ...'). Always relay recent_errors to the user when failed > 0; if it is absent, say the reason is not known yet rather than guessing.

Input Schema

NameRequiredDescriptionDefault
campaign_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses freshness semantics (updates in real time as Meta webhooks arrive), a conditional output field (recent_errors appears only when sends failed), how those errors are sourced (send-time API errors plus post-send delivery failures, prefixed with Meta error codes), and how to handle the absent case rather than guessing. That is substantive behavior an agent could not infer from structured data.

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-loads the tool's purpose and return shape, then the conditional error behavior, then the operational instruction — a sensible order with no filler. The inline field list and the detailed error-code parenthetical are slightly dense but each carries information an agent needs.

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 does the work of documenting the return object and the conditional recent_errors field, which is the key completeness need here. The remaining hole is the lone input parameter's provenance, plus no mention of what happens when a campaign has not started sending.

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?

Only one parameter (campaign_id, uuid) exists and schema description coverage is 0%, so the description carries the burden but says nothing about it — no guidance on sourcing the ID from list_campaigns or what happens with an unknown/invalid ID. The name and format are largely self-explanatory, so the gap is moderate rather than severe.

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?

Opens with a specific verb and resource ('Get live delivery stats for a campaign') and enumerates the exact fields returned, so an agent can distinguish it from siblings like list_campaigns or preview_broadcast without opening the schema. The scope ('live' delivery stats) is stated up front.

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?

The description gives conditional handling guidance ('when sends have failed', 'always relay recent_errors when failed > 0') but never says when to reach for this tool versus list_campaigns, preview_broadcast, or send_broadcast. Usage is implied by the phrase 'live delivery stats' rather than stated as a selection rule or exclusion.

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.

Resources