Skip to main content
Glama
rollecode

Trakt MCP server

by rollecode

get_users_by_id_history_episodes

Read-onlyIdempotent

Retrieve a user's watched episode history with filters for date range, genres, ratings, and streaming availability.

Instructions

Get episode watched history.

GET /users/{id}/history/episodes

Args: id: The slug that identifies the user, or "me" for the authenticated user. 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. start_at: Start date for the range. Must be formatted as "YYYY-MM-DD". end_at: End date for the range. Must be formatted as "YYYY-MM-DD". 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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
pageNo
limitNo
yearsNo
end_atNo
genresNo
ratingsNo
end_dateNo
extendedNo
runtimesNo
start_atNo
watchnowNo
countriesNo
subgenresNo
start_dateNo
certificationsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already mark the operation read-only and idempotent. The description adds a bit of behavioral detail on pagination (default limits, clamping) and date range formatting, but does not disclose response behavior, filtering semantics, or any authentication requirements; mostly it lists parameters.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The definition is front-loaded with a clear summary and endpoint, and the parameter list is organized. However, it is longer than necessary, with repeated non-descriptive 'Query parameter.' lines and a verbose watchnow block that could be condensed; every line does not earn its place.

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?

Despite having an output schema and strong annotation hints, this is a 16-parameter endpoint with no schema-level descriptions. The description is incomplete for correct invocation: most filter parameters have no format or allowed values, and 'extended' is left undefined.

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?

Schema description coverage is 0%, so the description carries the parameter documentation burden. It gives real semantics for id ('me' support), watchnow (enumerated values), start_at/end_at (format), and page/limit, but leaves most filters (genres, subgenres, years, ratings, runtimes, countries, certifications, start_date, end_date, extended) with no meaning beyond 'Query parameter.'

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 opening 'Get episode watched history' names a clear verb and resource, and the endpoint line pins the exact operation. It does not explicitly contrast with closely related sibling tools like get_users_by_id_history_episodes_by_item_id or get_users_by_id_history_movies, so it stops short of full 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?

No guidance is given on when to choose this tool over alternatives such as get_users_by_id_history, get_users_by_id_history_episodes_by_item_id, or the movies/shows variants. The description is essentially an argument reference rather than a usage decision aid.

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