Skip to main content
Glama

Analyze Latest Campaigns

analyze_latest_campaigns
Read-onlyIdempotent

Analyze recent completed campaigns as a batch (default 5, up to 20 via count param). Provides individual grades, overall performance vs industry benchmarks, trends over time, what's working vs needs attention, performance by list, optional cost/ROI context, and a strategic action plan.

Input Schema

NameRequiredDescriptionDefault
countNoNumber of campaigns to analyze (default 5, max 20)
cost_per_emailNoOptional cost per email, in your own currency for ROI projections

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / cost_per_email / description
      Previous value: -"Optional cost per email in dollars for ROI projections"New value: +"Optional cost per email, in your own currency for ROI projections"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and openWorld, so the safety profile is covered. The description adds real value beyond that by enumerating the analysis outputs (individual grades, industry benchmarks, trends, list performance, ROI context, action plan), which is the behavioral payoff an agent needs since no output schema exists.

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?

A single front-loaded sentence establishes the batch scope before enumerating outputs; the parenthetical limit is well placed. The trailing list of six output categories is long but each item is distinct and informative rather than filler.

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, describing the returned analysis components is essential and is done well, and both parameters are fully covered. Minor gaps remain around edge cases (fewer completed campaigns than requested, what qualifies as 'completed') that an agent might need to interpret results correctly.

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 description coverage is 100%, so both parameters are already documented, and the description only restates the count default/max and frames cost_per_email as 'optional cost/ROI context'. That framing adds slight color but no new semantics such as currency handling or behavior when fewer than count campaigns exist.

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 description gives a specific verb and resource ('Analyze recent completed campaigns as a batch') plus explicit scope (default 5, up to 20), which distinguishes it from the singular 'analyze_campaign' and the comparison-oriented sibling. It stops short of naming those siblings explicitly, so the differentiation is inferable rather than stated.

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 by 'recent completed campaigns as a batch', which hints at a post-send retrospective use case. However, there is no explicit guidance on when to pick this over analyze_campaign, compare_campaigns, or campaign_health_dashboard, and no prerequisites or exclusions are given.

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.