Skip to main content
Glama

apple_podcasts_episodes

Read-onlyIdempotent

Ranks episodes by plays, unique listeners, or engaged listeners over a date range, showing which episodes held attention on Apple Podcasts. Use it for per-episode listening depth analysis.

Instructions

Per-episode listening from Apple Podcasts Connect over a date range: plays, unique listeners, and engaged listeners for each episode, rolled up across the range and ranked. Answers 'which episodes held attention on Apple'. Apple aggregates from unique devices, so these are device counts, not headcounts, and an engaged listener is a device that played at least 20 minutes or 40% of an episode — a depth threshold, not a completion. Takes an explicit date range and a row cap; both are required to keep the response bounded.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "apple_podcasts_episodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd of the range, YYYY-MM-DD (or YYYY-MM for Monthly). Defaults to 2 days ago, because Apple publishes reports on a lag.
limitNoMax episodes to return, ranked by sort_by. An integer from 1 to 50. Default 10.
startNoStart of the range, YYYY-MM-DD (or YYYY-MM for Monthly). Defaults to 7 days back for Daily, 7 weeks for Weekly, 6 months for Monthly — each sized to fit the default max_periods of 7.
periodNoReporter period. Daily and Weekly take YYYY-MM-DD dates; Monthly takes YYYY-MM. Weekly dates are Apple's week-ending Sundays.Daily
sort_byNoWhich metric ranks the episodes. Default plays.plays
worldwideNoUse the worldwide episode report instead of the per-storefront one. Per-storefront repeats every episode once per country, which is far more rows for the same totals.
max_periodsNoHow many periods to fetch, an integer from 1 to 31. Reporter has no range query, so each period is a separate call to Apple and a wide range will hit their throttle. Default 7. Ranges longer than this are truncated to the most recent periods.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.2.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / limit / description
      Previous value: -"Max episodes to return, ranked by sort_by. Default 10, cap 50."New value: +"Max episodes to return, ranked by sort_by. An integer from 1 to 50. Default 10."
    • addedInput schema / properties / limit / maximum
      Added value: +50
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / max_periods / description
      Previous value: -"How many periods to fetch, cap 31. Reporter has no range query, so each period is a separate call to Apple and a wide range will hit their throttle. Default 7. Ranges longer than this are truncated to the most recent periods."New value: +"How many periods to fetch, an integer from 1 to 31. Reporter has no range query, so each period is a separate call to Apple and a wide range will hit their throttle. Default 7. Ranges longer than this are truncated to the most recent periods."
    • addedInput schema / properties / max_periods / maximum
      Added value: +31
    • addedInput schema / properties / max_periods / minimum
      Added value: +1
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the read-only and idempotent annotations, the description explains that Apple counts devices rather than people and defines engaged listeners as a 20-minute or 40% depth threshold. Those are meaningful behavioral caveats, though the claim that the date range and row cap are 'required' conflicts with the schema defaults and the throttling behavior is left to the schema.

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 front-loaded with the resource and metrics, and most sentences carry useful information. It is slightly long and includes a requiredness sentence that conflicts with the schema, but there is little outright 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?

For a complex seven-parameter reporting tool with no output schema, the description covers the metrics, ranking, aggregation, and device-count caveats well. It leaves period selection, worldwide behavior, and max_periods truncation to the well-documented schema, which is reasonable, though the requiredness mismatch is a minor completeness flaw.

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 coverage is 100%, so the schema already explains all seven parameters, including sort_by, worldwide, and max_periods. The description adds only the broad notion of an explicit date range and row cap, and it inaccurately implies both are required rather than optional with defaults, so it does not add much parameter-level meaning.

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 states a specific verb and resource: per-episode listening from Apple Podcasts Connect, with plays, unique listeners, and engaged listeners, rolled up and ranked. It distinguishes itself from aggregate siblings through the explicit per-episode framing and the use case 'which episodes held attention on Apple.'

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 a clear use case in the question it answers and ties the tool to episode-level attention analysis. It does not explicitly name when to use sibling tools or when not to use this one, but the context is strong enough to route an agent.

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