Skip to main content
Glama

Get campaign metrics overview

get_campaign_metrics_overview
Read-onlyIdempotent

Measure campaign Spotify listener attribution and cost efficiency for a date range. listeners counts attributed new listeners; total_listeners counts distinct new and returning listeners in the window. Use returned cpl (based on listeners) and streams_per_listener (based on total_listeners). Use these totals rather than summing daily listeners or dividing spend by an artist-wide Spotify audience. Omit both dates for campaign start through today.

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": {
      "campaignId": "<campaignId>"
    },
    "name": "get_campaign_metrics_overview"
  }
}

Input Schema

NameRequiredDescriptionDefault
endDateNoEnd of the date range, YYYY-MM-DD or an ISO-8601 timestamp.
startDateNoStart of the date range, YYYY-MM-DD or an ISO-8601 timestamp.
campaignIdYesSoundlink campaign ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world behavior, so the description focuses on what the numbers mean. It discloses the aggregation caveat and the default date-range behavior, which is genuinely additive. It does not describe the response shape, but that is implied by the metric definitions.

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?

Three tightly packed sentences, front-loaded with purpose, then metric semantics, then the pitfall warning and default. No filler, though the density of metric names makes it slightly heavy on first read.

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?

No output schema exists, so the description carries the burden of explaining return values, and it does define the key fields (listeners, total_listeners, cpl, streams_per_listener) plus their relationship. Remaining gaps, such as exact response structure or currency of cost, are minor.

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 100%, so the baseline is 3. The description adds real meaning by specifying that omitting both dates defaults the range to campaign start through today, a behavioral default the schema does not state.

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?

States a specific verb and resource: measuring Spotify listener attribution and cost efficiency for a campaign over a date range. The 'overview' framing implicitly contrasts with the breakdown/creative/engagement siblings, but no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Tells the agent which metric to trust for which purpose (cpl from listeners, streams_per_listener from total_listeners) and warns against the wrong approaches — summing daily listeners or dividing by an artist-wide audience, which rules out misusing the daily breakdown tool. It also specifies the default window when dates are omitted.

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