Skip to main content
Glama
rollecode

Trakt MCP server

by rollecode

get_shows_played_by_period

Read-onlyIdempotent

Retrieve the most played shows for a specified period, with optional filters for genres, ratings, streaming services, and other criteria.

Instructions

Get the most played shows.

GET /shows/played/{period}

Args: period: Path parameter. extended: Extended information to include in the response. watchnow: Use "favorites" for streaming on a favorite service of the user. Use "any" for streaming on any service in the user's country. Use "any_all" for streaming on any service in all countries. Use "free" for streaming for free in the user's country. Use "free_all" for streaming for free in all countries. Use "subscriptions" for streaming on any subscription service (Netflix, Hulu, etc) in the user's country. Use "subscriptions_all" streaming on any subscription service in all countries genres: Query parameter. subgenres: Query parameter. years: Query parameter. ratings: Query parameter. start_date: Query parameter. end_date: Query parameter. runtimes: Query parameter. countries: Query parameter. certifications: Query parameter. page: The page number to retrieve limit: The number of items per page. Defaults and maximums vary by endpoint. When pagination parameters are omitted, a low default limit is applied (often 10). When a limit is provided, it is capped at the endpoint maximum (often 250); higher values are clamped rather than rejected. ignore_watched: Ignore watched items. ignore_collected: Ignore collected items. ignore_watchlisted: Ignore watchlisted items.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
limitNo
yearsNo
genresNo
periodYes
ratingsNo
end_dateNo
extendedNo
runtimesNo
watchnowNo
countriesNo
subgenresNo
start_dateNo
certificationsNo
ignore_watchedNo
ignore_collectedNo
ignore_watchlistedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds genuine behavioral context beyond that: pagination clamping behavior ('higher values are clamped rather than rejected') and the varying default limit by endpoint. No contradiction 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.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first line and endpoint are efficient, but the body is a long parameter dump where roughly half the entries ('Query parameter') add no information. Indentation is inconsistent (two-space vs four-space) and the list is not front-loaded by importance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema and safety annotations present, the description's job narrows, but for a 17-parameter tool it still omits critical calling information: valid values for the required period parameter, the meaning/format of extended, and the expected syntax of the filter parameters. An agent cannot confidently construct a correct call without external documentation.

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 property descriptions are absent (0% coverage), so the description must compensate. It does so thoroughly for watchnow (seven documented values) and limit (defaults/maximums/clamping). However, eight parameters (genres, subgenres, years, ratings, start_date, end_date, runtimes, countries, certifications) are dismissed as 'Query parameter' with zero added meaning, and the required period parameter gets only 'Path parameter' with no accepted values.

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?

Opens with 'Get the most played shows,' a specific verb+resource pair, reinforced by the GET /shows/played/{period} endpoint. This distinguishes it from sibling period tools (watched/collected/favorited/streaming) by naming the 'played' metric, though no sibling is explicitly named.

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

Usage Guidelines2/5

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

No guidance on when to select this tool over siblings like get_shows_watched_by_period or get_movies_played_by_period. The description jumps straight into the parameter list with no context, preconditions, or exclusions.

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

Deploy Server

Other Tools