Skip to main content
Glama

Get campaign metrics engagement

get_campaign_metrics_engagement
Read-onlyIdempotent

Explore what connected Spotify listeners play through paginated daily, per-track campaign engagement. Use catalog for same-artist follow-through or playlist for tracks in the promoted playlist; omit engagementContext for both. Listening sync runs while the campaign is active; post-campaign drops can reflect stopped sync rather than churn. Do not sum daily listeners into unique totals. The API caps the date range at 90 days.

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_engagement"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1.
sortByNoField to sort by.report_date
endDateNoEnd of the date range, YYYY-MM-DD or an ISO-8601 timestamp.
pageSizeNoRows per page, 1 to 500.
sortOrderNoSort direction.desc
startDateNoStart of the date range, YYYY-MM-DD or an ISO-8601 timestamp.
campaignIdYesSoundlink campaign ID.
engagementContextNoRestrict engagement to catalog or playlist listening.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses substantive behavior: listening sync stops when a campaign ends so post-campaign drops can be an artifact rather than churn, daily listeners must not be summed into uniques, and the API caps the range at 90 days. These caveats directly affect how an agent interprets and constrains queries and are not available from structured fields.

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?

Sentences are front-loaded and each carries a distinct warning or routing rule, with no filler. The opening clause ('Explore what connected Spotify listeners play through paginated daily, per-track campaign engagement') is slightly convoluted and could be stated more directly.

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?

For an 8-parameter read tool with full schema coverage and no output schema, the description covers the crucial interpretive hazards and mode selection. It does not describe the returned row shape beyond 'daily, per-track', which is mostly recoverable from the name and schema but would have been useful for an agent reasoning about results.

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 baseline is 3, but the description adds real meaning: it explains what each engagementContext value scopes to and surfaces a 90-day cap on startDate/endDate that the schema itself does not encode. Pagination and sorting parameters are left entirely to the schema, hence not a 5.

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 states a specific verb and resource: 'daily, per-track campaign engagement' for connected Spotify listeners, which distinguishes it from an overview or creative-level metric tool. It does not explicitly contrast with named siblings such as get_campaign_metrics_breakdown or *_export, so an agent must infer the boundary from the 'per-track' and 'paginated' qualifiers.

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?

It gives explicit selection guidance for the engagementContext parameter ('catalog for same-artist follow-through or playlist for tracks in the promoted playlist; omit engagementContext for both'), which tells the agent how to choose among modes. It stops short of saying when to prefer this tool over the breakdown, overview, or export siblings, leaving that boundary implicit.

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