Skip to main content
Glama
rollecode

Trakt MCP server

by rollecode

get_users_by_id_history_shows

Read-onlyIdempotent

Retrieve a user's watched show history, filtered by date range, genres, ratings, or streaming availability.

Instructions

Get show watched history.

GET /users/{id}/history/shows

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

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds useful behavioral context beyond that: 'me' as a valid id, YYYY-MM-DD date formatting, pagination defaults, and the clamping behavior for limit. These are genuine operational details an agent needs.

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 summary line is front-loaded and the arg list is organized. However, the repeated 'Query parameter' lines waste space and the watchnow explanation is verbose. It is not poorly structured, but it does not make every sentence 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?

Given 16 parameters, no schema-level descriptions, and a large sibling family, the description is incomplete. It covers pagination and date formats well, but leaves most filter parameters undefined and offers no tool-selection context. An agent could call the endpoint with valid schema types yet still pass incorrectly formatted filter values.

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 0%, so the description carries the burden. It provides real meaning for id, watchnow, start_at, end_at, page, and limit. However, nine parameters (genres, subgenres, years, ratings, start_date, end_date, runtimes, countries, certifications) are dismissed as 'Query parameter,' adding no semantic value. This is partially compensating but not fully.

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 opens with 'Get show watched history,' which clearly states the verb and resource. It identifies the endpoint and the subject (user show history), but it does not distinguish this from sibling tools like get_users_by_id_history_shows_by_item_id or get_users_by_id_history.

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 guidance on when to use this tool versus alternatives. The parameter notes explain how to format some values, but the description never states the intended use case, exclusions, or why an agent should choose this over get_users_by_id_history, get_users_by_id_history_movies, or the item-specific variants.

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