Skip to main content
Glama

Search Tv

search_tv
Read-onlyIdempotent

TMDb (The Movie Database), search TV shows by title. Returns show name, first-air date, popularity, overview, poster path, TMDb tv_id. Use to resolve a TV title into the tv_id needed by tv, tv_season, tv_episode.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "Breaking Bad"
    },
    "name": "search_tv"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
yearNo
queryYes
languageNo
include_adultNo
first_air_date_yearNo

Output Schema

NameRequiredDescriptionDefault
pageNoCurrent page number
resultsNoArray of TV show search results
total_pagesNoTotal number of pages available
total_resultsNoTotal number of results

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "query": "Breaking Bad"
      +  },
      +  {
      +    "first_air_date_year": 2005,
      +    "query": "The Office"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "page": {
      +      "description": "Current page number",
      +      "type": "number"
      +    },
      +    "results": {
      +      "description": "Array of TV show search results",
      +      "items": {
      +        "properties": {
      +          "first_air_date": {
      +            "description": "First air date",
      +            "type": "string"
      +          },
      +          "id": {
      +            "description": "TV show ID",
      +            "type": "number"
      +          },
      +          "name": {
      +            "description": "TV show name",
      +            "type": "string"
      +          },
      +          "overview": {
      +            "description": "Show overview/synopsis",
      +            "type": "string"
      +          },
      +          "popularity": {
      +            "description": "Popularity score",
      +            "type": "number"
      +          },
      +          "vote_average": {
      +            "description": "Average vote rating",
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "total_pages": {
      +      "description": "Total number of pages available",
      +      "type": "number"
      +    },
      +    "total_results": {
      +      "description": "Total number of results",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds the id-resolution workflow but says nothing about pagination limits, default language, what include_adult actually does, or any rate-limit behavior for an open-world remote lookup. The return-field list is partly redundant given an output schema exists.

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?

Two sentences, front-loaded with the verb and resource, followed by return contents and the downstream routing rule. No filler, no restatement of the tool name, and the highest-value information (what you get back and why) comes first.

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?

Return values needn't be explained because an output schema exists, and the sibling chaining is well covered. The gap is the six undocumented parameters, especially the ambiguous year pair, which is the one thing an agent could plausibly get wrong when calling this tool.

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

Parameters2/5

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

Schema description coverage is 0% across six parameters, so the description must compensate and largely does not: only 'by title' maps to query. Notably it never disambiguates the two overlapping numeric filters, year and first_air_date_year, nor explains page, language or include_adult, leaving an agent to guess which year field to send.

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?

States a specific verb and resource ('search TV shows by title') and immediately enumerates what comes back (name, first-air date, popularity, overview, poster path, tv_id). It also positions the tool relative to the retrieval siblings tv, tv_season and tv_episode, so an agent can tell what it is for without opening the schema.

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 second sentence gives explicit routing guidance: use this to resolve a title into the tv_id that tv, tv_season and tv_episode require. That is a clear when-to-use rule tied to a concrete downstream need. It stops short of any when-not guidance (e.g. use search_multi for mixed media, or tv directly when the id is already known), which keeps it from a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.