Skip to main content
Glama

Discover trending media

discover_media
Read-only

Browse what exists rather than what you have: films or series by genre, year and minimum rating, or things similar to one you know via similar_to. To find one title by name, use search_media.

Instructions

Browse what exists rather than what you have: films or series by genre, year and minimum rating, or things similar to one you know via similar_to. To find one title by name, use search_media. Answered by Seerr, TMDB-backed, so the rating is TMDB’s; similar_to needs Seerr. Without Seerr, genre/year/min_rating are answered from the local IMDb dataset, where the rating is IMDb’s.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "discover_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoFilms or series. Defaults to films.
yearNoRestrict to one release year.
genreNoGenre name, e.g. "Crime" or "Action". A TMDB numeric id is also accepted.
limitNoMaximum items to return.
detailNoHow much per-item detail to return.standard
offsetNoItems to skip: page two of 50 is `offset: 50`.
excludeNoLeave out what you own or have watched; page on with the offset note gives.
media_typeNo
min_ratingNoMinimum TMDB rating out of 10.
similar_toNoA TMDB numeric id: find something like it. Seerr only, and mutually exclusive with genre/year/min_rating: it answers a different question.

Output Schema

NameRequiredDescriptionDefault
noteNo
itemsYes
totalYes
countsNo
offsetYes
degradedYes
returnedYes
truncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.4.0
    • addedInput schema / properties / exclude
      Added value: +{
      +  "description": "Leave out what you own or have watched; page on with the offset note gives.",
      +  "items": {
      +    "enum": [
      +      "owned",
      +      "watched"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed3 schema fields changedv2.2.0
    • changedInput schema / properties / detail / description
      Previous value: -"How much per-item detail to return; defaults to standard."New value: +"How much per-item detail to return."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum items to return; defaults to 50, hard maximum 500."New value: +"Maximum items to return."
    • changedInput schema / properties / offset / description
      Previous value: -"Items to skip: page two of 50 is `offset: 50`; pair it with `sort`, or items can move between pages."New value: +"Items to skip: page two of 50 is `offset: 50`."
  3. Changed4 schema fields changedv1.84.0
    • changedInput schema / properties / detail / description
      Previous value: -"How much per-item detail to return. Defaults to standard."New value: +"How much per-item detail to return; defaults to standard."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum items to return. Defaults to 50, hard maximum 500."New value: +"Maximum items to return; defaults to 50, hard maximum 500."
    • changedInput schema / properties / offset / description
      Previous value: -"Items to skip: page two of 50 is `offset: 50`. Pair it with `sort`, or items can move between pages."New value: +"Items to skip: page two of 50 is `offset: 50`; pair it with `sort`, or items can move between pages."
    • changedInput schema / properties / similar_to / description
      Previous value: -"A TMDB numeric id — find something like it. Seerr only, and mutually exclusive with genre/year/min_rating: it answers a different question."New value: +"A TMDB numeric id: find something like it. Seerr only, and mutually exclusive with genre/year/min_rating: it answers a different question."
  4. Changed18 schema fields changedv1.74.0
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / offset / description
      Previous value: -"How many items to skip before the window `limit` returns — page two of 50 is `offset: 50`. `total` always counts the whole list, so `offset + returned < total` is how you know there is another page. Pair it with `sort` for a stable walk: without one the order is whatever the services returned, and an item can move between pages."New value: +"Items to skip: page two of 50 is `offset: 50`. Pair it with `sort`, or items can move between pages."
    • removedInput schema / properties / offset / maximum
      Removed value: -9007199254740991
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / properties / counts / description
      Removed value: -"How many results each service contributed."
    • removedOutput schema / properties / degraded / description
      Removed value: -"Services that could not be reached. Their contribution is missing from `items`, so a short list may be an outage rather than an answer."
    • removedOutput schema / properties / items / description
      Removed value: -"The window of results. What an item carries depends on the tool and on `detail`."
    • removedOutput schema / properties / note / description
      Removed value: -"Present when an empty list needs defending — for example when neither Seerr nor the IMDb dataset is configured, so nothing could answer. Report the reason rather than saying nothing matched."
    • removedOutput schema / properties / offset / description
      Removed value: -"How many were skipped. `offset + returned < total` means there is another page."
    • removedOutput schema / properties / offset / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / offset / minimum
      Removed value: --9007199254740991
    • removedOutput schema / properties / returned / description
      Removed value: -"How many are in `items`."
    • removedOutput schema / properties / returned / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / returned / minimum
      Removed value: --9007199254740991
    • removedOutput schema / properties / total / description
      Removed value: -"How many matched in total — the whole list, never the window. Compare against `returned` before reporting a count to anyone."
    • removedOutput schema / properties / total / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / total / minimum
      Removed value: --9007199254740991
    • removedOutput schema / properties / truncated / description
      Removed value: -"True when this is not the whole list — including on the last page of a paged walk, where the rest is behind you rather than ahead."
  5. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond readOnlyHint=true, the description discloses that the backing service varies: Seerr/TMDB when available, the local IMDb dataset otherwise, and critically that the meaning of min_rating changes with the backend. It also states similar_to is unavailable without Seerr. That is exactly the kind of hidden semantic dependency an agent cannot infer from annotations or schema.

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

Conciseness4/5

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

Three sentences, front-loaded with the purpose then the sibling routing then the backend caveat. Dense but every sentence carries distinct information. The middle clause ("Answered by Seerr, TMDB-backed, so the rating is TMDB's") is slightly compressed for the weight of the caveat, but nothing is wasted.

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 10-parameter but fully optional tool with an output schema, the description covers the two things structured data cannot: how to choose between discovery modes and how backend availability alters results. Return values are properly omitted since an output schema exists.

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 90%, so the baseline is 3; the description earns above that by declaring similar_to mutually exclusive with genre/year/min_rating and by clarifying what the rating value actually represents depending on backend, which the schema's "TMDB rating out of 10" wording does not cover. It does not add anything for the remaining filters, which the schema already documents well.

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 a specific verb-and-resource framing ("Browse what exists rather than what you have") and enumerates the three discovery modes: genre/year/min_rating, similar_to, and kind. It explicitly contrasts itself with the sibling search_media ("To find one title by name, use search_media"), so an agent can separate discovery from lookup without opening either schema.

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

Usage Guidelines5/5

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

It gives an explicit when-not ("To find one title by name, use search_media"), an explicit internal routing rule (similar_to for "things similar to one you know" vs. the filter path), and a prerequisite condition (similar_to needs Seerr). These are the three decisions an agent actually has to make before invoking this tool.

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