Skip to main content
Glama
rollecode

Trakt MCP server

by rollecode

get_users_by_id_history_movies

Read-onlyIdempotent

Retrieve a user's movie watch history from Trakt. Filter by date, genre, rating, runtime, country, certification, or streaming service to find specific watched movies.

Instructions

Get movie watched history.

GET /users/{id}/history/movies

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

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, but the description adds valuable behavioral details: pagination defaults and clamping ('a low default limit is applied (often 10)... higher values are clamped rather than rejected'), date format requirements ('Must be formatted as "YYYY-MM-DD"'), and the full set of watchnow value semantics. 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.

Conciseness3/5

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

The Args list is organized and front-loads the core statement, but six parameters redundantly repeat 'Query parameter' without adding informationable, consuming space that could be compressed. The watchnow enumeration is lengthy yet necessary. Overall it is somewhat verbose but structurally acceptable.

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

Completeness3/5

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

With 16 parameters and no schema descriptions, the description leaves several filtering parameters (genres, ratings, countries, certifications) undefined. It does cover critical behaviors like pagination clamping, date formatting, id semantics, and watchnow values, and an output schema exists, so return values need not be described. Still, the underdocumented filters create gaps for correct invocation.

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

Parameters4/5

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

Schema description coverage is 0%, so the description bears full responsibility for parameter meaning. It significantly compensates by explaining id (slug or 'me'), watchnow (all allowed values listed), start_at/end_at format, and page/limit defaults and caps. However, several filter parameters (genres, subgenres, years, ratings, etc.) are only labeled 'Query parameter' with no additional format or usage guidance, limiting the compensation.

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 opens with 'Get movie watched history,' which states a specific verb (Get) and resource (movie watched history), clearly separating it from sibling history tools like get_users_by_id_history_episodes or get_users_by_id_history_shows. The endpoint path reinforces the resource.

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 explicit guidance on when to use this tool vs. alternatives such as get_users_by_id_history_shows or get_users_by_id_history_episodes. The only differentiation is embedded in the tool name/endpoint; the description does not mention any exclusions, alternatives, or context-based selection criteria.

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