Skip to main content
Glama
labelgrid

LabelGrid MCP Server

Official

Get streaming analytics

get_analytics
Read-only

Retrieve streaming analytics summaries for your catalog. Filter by date range, platform, release, or artist to get metrics like streams, listeners, saves, and more.

Instructions

Retrieve a streaming analytics summary for your catalog in a single call. start_date and end_date (both YYYY-MM-DD) are required and the window is capped at 30 days by the server. Optionally narrow the result by platform (SPOTIFY, ITUNES, APPLE_MUSIC), release_id, isrc, upc, or artist_names. By default all 15 metric sections are returned; pass metrics to request only a subset. Available metrics: streams, listeners, saves, skips, shares, completion-rate, lyrics-view-rate, canvas-view-rate, device-split, source-split, saves-by-tier, streams-by-country, streams-by-gender, streams-by-age, shares-by-country. This endpoint is rate-limited (about 60 requests per minute); a 429 response carries retry_after_seconds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
upcNo
isrcNo
limitNo
metricsNoSubset of metric sections to return; omit for all 15.
end_dateYesEnd of the reporting window, YYYY-MM-DD. Required. Max 30-day span.
platformNo
release_idNo
start_dateYesStart of the reporting window, YYYY-MM-DD. Required.
artist_namesNoFilter to one or more artist names.
Behavior5/5

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

The description discloses important behaviors beyond the readOnlyHint annotation: date window capped at 30 days, rate limit of ~60 req/min, 429 response with retry_after_seconds, default return of all 15 metric sections, and ability to request a subset via 'metrics' parameter. No contradictions with annotations.

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?

The description is a single coherent paragraph, front-loaded with the main action. It efficiently lists parameters and behaviors without redundancy. A bullet list could improve readability, but the current structure is acceptable and not verbose.

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?

Given 9 parameters, no output schema, and no nested objects, the description covers required params, optional filters, default metric set, rate limit, and error handling for 429. However, it does not describe the response structure or format, leaving agents to infer the output. Some parameter semantics (limit) are omitted.

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 44% (low), so description should compensate. It adds context for platform (lists enum values), metrics (lists all 15 options), and date format (YYYY-MM-DD). However, it does not describe the 'limit', 'upc', 'isrc', or 'release_id' parameters beyond their names, and parameter details for these are missing from schema too. Partial compensation.

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 tool's purpose: 'Retrieve a streaming analytics summary for your catalog in a single call.' It specifies that it returns analytics with date range, optional filters (platform, release_id, ISRC, UPC, artist_names), and metric sections. This distinguishes it from sibling 'get_' tools like get_release or get_track which serve different data.

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?

The description provides clear context on when to use: to get analytics summary in a single call with optional filtering. It mentions required date parameters and rate limiting, but it does not explicitly exclude usage scenarios or suggest alternatives. However, the uniqueness of analytics among siblings makes the usage implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/labelgrid/labelgrid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server