Skip to main content
Glama

campaigns_analytics

Read-onlyIdempotent

Stats for one campaign (recipients, sent, delivered, unique opens/clicks, bounces, unsubscribes, replies, failures). With recipients: true, returns per-recipient rows instead, optionally filtered by status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
limitNoRecipients: default 100.
statusNoRecipients filter.
recipientsNoReturn per-recipient status rows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / id / description
      Removed value: -"Campaign UUID."
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Recipients: default 100.",
      +  "maximum": 500,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / recipients
      Added value: +{
      +  "description": "Return per-recipient status rows.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "Recipients filter.",
      +  "enum": [
      +    "queued",
      +    "sent",
      +    "delivered",
      +    "opened",
      +    "clicked",
      +    "bounced",
      +    "unsubscribed",
      +    "replied",
      +    "failed"
      +  ],
      +  "type": "string"
      +}
  2. 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 is covered. The description adds useful behavioral context beyond that: what data is returned and the two distinct response shapes. It stops short of mentioning pagination behavior or default row counts, which rely on the schema.

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?

Two dense sentences with zero filler. The primary mode and its metric list come first, and the alternate mode is appended as a compact clause.

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 carries the burden of describing returned data and does so by enumerating metrics and both response shapes. It is close to complete for a read-only analytics tool; only pagination/default-limit behavior is left to the schema.

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 75%, with 'id' undocumented in both places. The description compensates meaningfully by clarifying that 'status' is a recipients-mode filter and that 'recipients' toggles between aggregate and row output — semantics the schema does not fully convey. The undescribed 'id' is self-evident given the context.

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 ('Stats') and resource ('one campaign') and then enumerates the exact metrics returned (recipients, sent, delivered, opens/clicks, bounces, unsubscribes, replies, failures). It also disambiguates the second mode ('With recipients: true, returns per-recipient rows instead'), making it clearly distinct from the campaigns_manage sibling.

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 explains the condition that switches to per-recipient output and when the status filter applies, which is implied usage guidance. However, it never states when to use this tool versus campaigns_manage or dashboard_summary, nor any prerequisites for the campaign id.

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