Skip to main content
Glama
rollecode

Trakt MCP server

by rollecode

get_shows_watched_by_period

Read-onlyIdempotent

Retrieve the most-watched shows for a specified period, with options to filter by genre, streaming service, ratings, and other criteria.

Instructions

Get the most watched shows.

GET /shows/watched/{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 and openWorldHint=true, so the safe read nature is covered. The description adds useful behavioral context beyond the annotations by explaining pagination behavior (default limit often 10, clamped to 250) and detailing the watchnow filter options. It does not mention auth requirements or return data shape, but with annotations and an output schema those gaps are less severe.

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 reasonably lean; it opens with the one-sentence purpose and then lists the endpoint and parameters. The watchnow section is verbose but informative. No redundant fluff is present. It could be more compact by trimming generic labels, but overall it is well organized.

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?

The required parameter `period` is not given any valid values or format, which is a critical omission—an agent cannot call the tool correctly without that information. Many other filter parameters lack formats or examples. While an output schema exists, the description still does not explain the meaning of date ranges, string encoding, or extended info options, leaving significant ambiguity for a tool with 17 parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, so the description carries the full burden of explaining 17 parameters. It provides detail for watchnow (with enumerated values) and limit (default/clamping), but most other parameters are merely restated as 'Query parameter' with no format, allowed values, or examples. For instance, 'period' is merely labeled

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: 'Get the most watched shows' with the endpoint GET /shows/watched/{period}. This is clear and immediately says what it returns, but it does not explicitly distinguish itself from sibling tools like get_shows_played_by_period or get_movies_watched_by_period; it relies on the tool name and path for differentiation.

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?

There is no when-to-use guidance, no comparison with siblings, and no mention of prerequisites. For instance, it does not say that this is for aggregated global watched stats versus a user's own watched history. The description simply lists parameters and does not explain which scenario this tool is the right choice for.

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