Skip to main content
Glama

Discover movies (filters)

discover_movies
Read-only

Find movies using structured filters like genre, year, rating, runtime, language, cast, keywords, and watch providers to get targeted recommendations.

Instructions

Find movies by structured filters instead of a title query: genres (include/exclude), year or release-date range, rating range, vote count, runtime range, original language, cast/crew/people, companies, keywords, watch providers, certification, and sort order. Use for 'popular sci-fi from the 1990s rated above 7 available on Netflix'. Resolve ids with get_movie_genres, search_people, search_keywords.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo1-based page number for pagination.
yearNoRelease / first-air year.
sort_byNoTMDB sort, e.g. 'popularity.desc', 'vote_average.desc', 'primary_release_date.desc'.
languageNoOverride the response language (ISO-639-1, optionally with a region), e.g. 'ru-RU' or 'en-US'. Localizes titles/overviews/genre names. Defaults to the server's TMDB_LANGUAGE.
min_votesNoMinimum vote count (filters obscure titles).
with_castNoComma-separated TMDB cast (actor) ids.
with_crewNoComma-separated TMDB crew, e.g. a director ids.
max_ratingNoMaximum vote average (0-10).
min_ratingNoMinimum vote average (0-10).
max_runtimeNoMaximum runtime in minutes.
min_runtimeNoMinimum runtime in minutes.
with_genresNoComma-separated TMDB genre ids (AND); get ids from get_movie_genres/get_tv_genres.
with_peopleNoComma-separated TMDB person (cast or crew) ids.
watch_regionNoCountry for with_watch_providers, e.g. 'US'.
certificationNoFilter by exact age certification, e.g. 'PG-13'. Requires certification_country.
with_keywordsNoComma-separated TMDB keyword (use search_keywords to resolve names → ids) ids.
with_companiesNoComma-separated TMDB production company ids.
without_genresNoComma-separated TMDB genre ids to exclude.
release_date_gteNoOnly entries released on/after this date (YYYY-MM-DD).
release_date_lteNoOnly entries released on/before this date (YYYY-MM-DD).
without_keywordsNoComma-separated TMDB keyword to exclude ids.
with_watch_providersNoComma-separated TMDB watch-provider (e.g. Netflix); requires watch_region ids.
certification_countryNoCountry whose certification system the `certification` filter uses, e.g. 'US'.
with_original_languageNoISO-639-1 original-language code, e.g. 'en', 'ja'.
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the tool's safety and open-world nature are known. The description does not contradict these and adds that the tool queries by filters. However, it does not discuss rate limits, pagination details, or result format beyond what the schema provides. For a read-only query tool, the description is adequate but not exceptional.

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 two sentences: the first lists all filter categories, the second provides a concrete use-case example and hints for resolving IDs. Every part is useful, no wasted words, and the most critical information (purpose and example) comes first.

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 high parameter count (24) and no output schema, the description covers the essential: what filters exist and how to use them (via example and ID resolution tips). It lacks mention of pagination (page param) and dependencies like certification_country, but the schema covers those. For a query tool with many optional filters, the description is sufficiently complete.

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?

The input schema has 100% coverage with descriptions for all 24 parameters. The tool description lists categories of filters but does not add meaning beyond the schema, such as clarifying that with_genres uses AND logic or that certification requires certification_country. The baseline for high coverage is 3, and the description does not elevate beyond that.

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 clearly states the tool finds movies by structured filters, not by title. It lists many filter types and gives a concrete example ('popular sci-fi from the 1990s rated above 7 available on Netflix'). It distinguishes itself from the sibling tool discover_tv (for TV) and implicitly from search_movies (title search).

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?

The description advises to use this tool for filter-based discovery and tells users to resolve IDs with get_movie_genres, search_people, and search_keywords. It does not explicitly mention when not to use it (e.g., for title search use search_movies instead), but the example and context provide clear guidance.

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/Grinv/tmdb-mcp'

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