Skip to main content
Glama

play_title

Launches a movie or TV episode in an installed streaming app on an LG TV by deep-linking from a TMDB ID, or opens the app with a title prompt when no ID is known.

Instructions

Play a movie or TV episode in a streaming app on the TV (Netflix, Prime Video, JioHotstar, ZEE5, YouTube).

Looks up the app's content id on Wikidata from the TMDB id (cached in ~/.config/lgtv/title_ids.json)
and deep-links into it; only installed apps are used. Returns status:
- deep_linked: launched into the title; "playback" reports the profile-screen / Play handling
  (result "playing" or "not confirmed playing" with a screen capture to look at)
- opened_app: the app has no working deep link here, so it was opened with the title in a toast
- needs_lookup: no id known; web-search it using id_hint and call again with app + app_content_id
  (or open_without_id=true)
- not_installed / unknown_app

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": "play_title"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoPreferred app: netflix, prime, hotstar, zee5 or youtube. Omit to pick the first installed app with a known id
titleNoMovie or series name (used for the toast and, without tmdb_id, the lookup)
seasonNoSeason number (tv)
episodeNoEpisode number within the season (tv)
tmdb_idNoTMDB id (from Screenward); the most reliable way to identify the title
media_typeNomovie, or tv for a seriesmovie
profile_okNoAfter a deep link, get past a profile screen and press Play where the app needs it (OK presses)
profile_delayNoMax seconds to wait for playback before pressing OK (cold starts take ~20 s)
app_content_idNoThe app's own id for this title/episode, e.g. found by web search after a needs_lookup reply. Requires app; it is cached
open_without_idNoIf no id is known, open the app anyway and show the title as a toast

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the Wikidata/TMDB id resolution, the on-disk cache at ~/.config/lgtv/title_ids.json, deep-link vs. app-open fallback, profile-screen OK presses, and cold-start timing. It omits whether the call interrupts current playback or what auth/account state is required.

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?

The core action is front-loaded in the first sentence, and the status list is bulleted for scannability. It is somewhat long for a description, but each status line corresponds to a concrete branch the agent must handle, so little is wasted.

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?

For a complex, ten-parameter tool this covers the main flow, the id-resolution path, fallbacks, and every terminal status an agent must branch on. Since an output schema exists, return-value detail need not be restated; the remaining gap is only around side effects on current playback.

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?

Schema coverage is 100%, so the schema already documents all ten parameters, making 3 the baseline. The description adds some meaning about how app/app_content_id interact with the needs_lookup flow, but it also references an `id_hint` that is not an actual parameter, which adds minor confusion rather than clarity.

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 concrete verb and resource ('Play a movie or TV episode') plus the target surface (a streaming app on the TV) and names the concrete apps supported. It is clearly distinguishable from siblings like launch_app or media_control, which operate on apps or transport controls rather than 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 Guidelines4/5

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

Gives real routing guidance: only installed apps are used, omitting `app` picks the first installed app with a known id, and a `needs_lookup` reply tells the agent to web-search and call again with app + app_content_id (or open_without_id=true). It does not explicitly contrast with launch_app/media_control for non-title playback, leaving one gap.

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