Skip to main content
Glama
Grinv

TMDB MCP Server

Get trending titles

get_trending
Read-only

Retrieve trending movies, TV shows, or people on TMDB for today or this week, with pagination and media type filtering to identify what's popular now.

Instructions

Get what's trending on TMDB. media_type selects movies, TV, people, or all; time_window is the trending period (today vs this week). Good for 'what's popular right now'. Each result row carries its own media_type ('movie' | 'tv' | 'person') — check it to route to the right get_* tool, especially when media_type is left at 'all'.

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page number for pagination (TMDB returns up to 20 results per page, max 500).
media_typeNoWhich kind of entity to rank. Defaults to 'all'.
time_windowNoTrending period: 'day' or 'week'. Defaults to 'week'.

Output Schema

NameRequiredDescriptionDefault
pageYes
resultsYes
total_pagesYes
total_resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.0
    • changedOutput schema / properties / results / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "id": {
      -        "type": "number"
      -      },
      -      "media_type": {
      -        "const": "movie",
      -        "type": "string"
      -      },
      -      "original_title": {
      -        "type": "string"
      -      },
      -      "overview": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "poster_url": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "release_date": {
      -        "anyOf": [
      -          {
      -            "format": "date",
      -            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null
      -      },
      -      "title": {
      -        "type": "string"
      -      },
      -      "vote_average": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "vote_count": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "year": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "media_type",
      -      "year",
      -      "release_date",
      -      "vote_average",
      -      "vote_count",
      -      "overview",
      -      "poster_url"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "first_air_date": {
      -        "anyOf": [
      -          {
      -            "format": "date",
      -            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null
      -      },
      -      "id": {
      -        "type": "number"
      -      },
      -      "media_type": {
      -        "const": "tv",
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "original_name": {
      -        "type": "string"
      -      },
      -      "overview": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "poster_url": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "vote_average": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "vote_count": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "year": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "media_type",
      -      "year",
      -      "first_air_date",
      -      "vote_average",
      -      "vote_count",
      -      "overview",
      -      "poster_url"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "id": {
      -        "type": "number"
      -      },
      -      "known_for": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "known_for_department": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "media_type": {
      -        "const": "person",
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "popularity": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "profile_url": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "media_type",
      -      "known_for_department",
      -      "popularity",
      -      "profile_url",
      -      "known_for"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "id": {
      +        "type": "number"
      +      },
      +      "media_type": {
      +        "const": "movie",
      +        "type": "string"
      +      },
      +      "original_title": {
      +        "type": "string"
      +      },
      +      "overview": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "poster_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "release_date": {
      +        "anyOf": [
      +          {
      +            "format": "date",
      +            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "vote_average": {
      +        "description": "TMDB's own 0-10 user score. A different audience and scale from the IMDb/RT/Metacritic scores get_movie/get_tv return as `ratings` — don't compare, average or substitute across the two.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "vote_count": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "year": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "media_type",
      +      "year",
      +      "release_date",
      +      "vote_average",
      +      "vote_count",
      +      "overview",
      +      "poster_url"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "first_air_date": {
      +        "anyOf": [
      +          {
      +            "format": "date",
      +            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null
      +      },
      +      "id": {
      +        "type": "number"
      +      },
      +      "media_type": {
      +        "const": "tv",
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "original_name": {
      +        "type": "string"
      +      },
      +      "overview": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "poster_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "vote_average": {
      +        "description": "TMDB's own 0-10 user score. A different audience and scale from the IMDb/RT/Metacritic scores get_movie/get_tv return as `ratings` — don't compare, average or substitute across the two.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "vote_count": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "year": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "media_type",
      +      "year",
      +      "first_air_date",
      +      "vote_average",
      +      "vote_count",
      +      "overview",
      +      "poster_url"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "id": {
      +        "type": "number"
      +      },
      +      "known_for": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "known_for_department": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "media_type": {
      +        "const": "person",
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "popularity": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "profile_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "media_type",
      +      "known_for_department",
      +      "popularity",
      +      "profile_url",
      +      "known_for"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Addedv0.10.1
  3. Removedv0.8.0
  4. First observedv0.3.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely non-obvious behavior: each result row carries its own media_type, which can differ from the requested filter when 'all' is used — an agent would otherwise likely assume homogeneous results. It does not mention rate limits or auth, but for a public read endpoint that is minor.

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

Conciseness5/5

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

Three sentences, front-loaded with the core purpose, then parameters, then the result-routing caveat. No restatement of the title and no filler.

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

Completeness5/5

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

For a three-optional-parameter read tool with full schema descriptions, an output schema, and annotated safety, nothing essential is missing. Pagination limits and return shape are handled by the structured fields, so the description correctly spends its budget on the cross-row media_type caveat instead.

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 coverage is 100%, so the baseline is 3; the description still earns credit by mapping the enums to plain meanings ('day vs this week') and by calling out the 'all' default's consequence for result routing. The page parameter is left entirely to the schema, which is acceptable given its thorough description there.

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?

States a specific verb and resource ('Get what's trending on TMDB') and names the two dimensions that shape the result (media_type, time_window). 'Trending' is inherently distinguishable from the search_* siblings, though the description never explicitly names them as alternatives, so it stops just short of a 5.

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

Usage Guidelines4/5

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

Gives a clear use context ('Good for what's popular right now') and a downstream routing instruction ('check the per-row media_type to route to the right get_* tool'). It omits any when-not guidance — e.g., that search_movies/discover_movies serve lookup or filter queries rather than popularity ranking.

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