Skip to main content
Glama

Discover Movies & TV

tmdb.movies.discover
Read-onlyIdempotent

Discover movies and TV shows by filtering genre, year, rating, language, and sorting options using The Movie Database (TMDB) API.

Instructions

Discover movies or TV shows by genre, year, rating, language, and sort order (TMDB)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoContent type to discover: "movie" or "tv" (default "movie")
languageNoISO 639-1 language code (e.g. "en-US"). Default: en-US
pageNoPage number (1-500, default 1)
sort_byNoSort field (e.g. "popularity.desc", "vote_average.desc", "revenue.desc", "primary_release_date.desc")
with_genresNoComma-separated genre IDs to filter (e.g. "28,12" for Action+Adventure)
yearNoFilter by release year (movies only)
primary_release_yearNoFilter by primary release year (movies only)
first_air_date_yearNoFilter by first air date year (TV only)
vote_average_gteNoMinimum vote average (0-10)
vote_average_lteNoMaximum vote average (0-10)
with_original_languageNoISO 639-1 original language filter (e.g. "en", "ko", "ja")
regionNoISO 3166-1 region for release dates (e.g. "US", "GB")
include_adultNoInclude adult content (default false)
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=true, so the description does not need to repeat these safety properties. The description adds '(TMDB)' to identify the external data source, which aligns with openWorldHint. It does not contradict annotations, but also does not disclose additional behavioral traits like rate limits or pagination details beyond what the schema provides.

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?

The description is a single, information-dense sentence with no filler words. It front-loads the action ('Discover') and immediately follows with the filterable dimensions and source identifier. Every element earns its place in the character budget.

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

Completeness4/5

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

Given the rich input schema (13 well-documented parameters) and comprehensive annotations, the description provides sufficient context for selection. It appropriately omits redundant parameter details covered by the schema. Minor gap: it does not mention that all parameters are optional or hint at the response structure, though this is partially mitigated by the 'Discover' framing implying a list result.

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?

With 100% schema description coverage, the baseline is appropriately 3. The description provides a high-level conceptual grouping of parameters ('by genre, year, rating...') but does not add semantic details, syntax examples, or clarifications beyond what the schema already documents for each of the 13 parameters.

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 clearly identifies the resource (movies/TV from TMDB) and lists specific filtering dimensions (genre, year, rating, language, sort order). It implicitly distinguishes from the sibling 'search' tool by emphasizing filter-based discovery rather than text queries, though it could explicitly state 'use for browsing when you don't have a specific title'.

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

Usage Guidelines3/5

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

The description implies usage by listing filterable attributes (genre, year, etc.), suggesting when to use the tool. However, it lacks explicit guidance contrasting it with siblings like 'tmdb.movies.search' (text search) or 'tmdb.movies.trending', leaving ambiguity about which tool to select for similar use cases.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/whiteknightonhorse/APIbase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server