Skip to main content
Glama

xmagnet

get_campaign_stats

Read-only

Get performance stats for a specific campaign — opens, clicks, replies, bounce rate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaign_idNo
campaign_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / campaign_id / description
      Removed value: -"Campaign ID from list_campaigns (preferred — exact match)"
    • removedInput schema / properties / campaign_name / description
      Removed value: -"Campaign name — used as a fallback if campaign_id is unknown (fuzzy match)"
  2. Changed2 schema fields changed
    • addedInput schema / properties / campaign_id / description
      Added value: +"Campaign ID from list_campaigns (preferred — exact match)"
    • addedInput schema / properties / campaign_name / description
      Added value: +"Campaign name — used as a fallback if campaign_id is unknown (fuzzy match)"
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint true and destructiveHint false, so the description only adds the list of included metrics, which is useful but not extensive. It does not disclose return format, time ranges, or aggregation behavior, so it adds some context but falls short of rich behavioral detail.

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 description is a single sentence, front-loaded with the main idea, and includes a compact list of metrics. Every word contributes value; there is no fluff or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

While the description is clear about the purpose and metrics, the lack of parameter guidance and absence of an output schema leave gaps. The agent may not know how to specify the campaign or what the exact return structure is, though the listed metrics provide a partial picture.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has two parameters (campaign_id, campaign_name) with zero description coverage, and the tool description does not mention them at all. There is no explanation of how to identify the campaign, whether either/both parameters are needed, or their expected formats, leaving the agent without necessary guidance.

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?

The description clearly states the verb 'Get' and the resource 'performance stats for a specific campaign', listing specific metrics (opens, clicks, replies, bounce rate). It distinguishes from sibling tools like get_dashboard_stats and get_bounce_stats by specifying campaign-level detail.

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?

Usage is implied rather than explicit: the description indicates this is for a specific campaign's stats, but it does not state when to use it over alternatives or include any exclusions. Sibling tool names provide contextual differentiation, but the description itself offers no direct guidance.

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