Skip to main content
Glama

tv_airing_today

Find TV shows currently airing today to get timely viewing recommendations and discover what's on television right now.

Instructions

Retrieves TV series airing today. Input: page (optional), language (optional ISO 639-1), timezone (optional). Output: JSON with paginated results. Purpose: Discover TV shows currently airing for timely recommendations by AI agents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageNo
pageNo
timezoneNo

Implementation Reference

  • The handler function fetches TV shows airing today from the TMDB API endpoint '/tv/airing_today' using the tmdbFetch helper, with optional parameters for page, language, and timezone, and returns the data as a formatted JSON text content block.
    handler: async ({page, language, timezone}) => { const data = await tmdbFetch('/tv/airing_today', {page, language, timezone}); return {content: [{type: 'text', text: JSON.stringify(data, null, 2)}]}; }
  • Input schema defining optional parameters: page (number >=1), language (string), timezone (string). No additional properties allowed.
    inputSchema: { type: "object", properties: {page: {type: "number", minimum: 1}, language: {type: "string"}, timezone: {type: "string"}}, additionalProperties: false },
  • The complete tool definition object added to the 'tools' array, which is used by the MCP server's ListToolsRequestHandler to expose the tool and by CallToolRequestHandler to dispatch calls to the handler based on name.
    { name: "tv_airing_today", description: "Retrieves TV series airing today. Input: page (optional), language (optional ISO 639-1), timezone (optional). Output: JSON with paginated results. Purpose: Discover TV shows currently airing for timely recommendations by AI agents.", inputSchema: { type: "object", properties: {page: {type: "number", minimum: 1}, language: {type: "string"}, timezone: {type: "string"}}, additionalProperties: false }, handler: async ({page, language, timezone}) => { const data = await tmdbFetch('/tv/airing_today', {page, language, timezone}); return {content: [{type: 'text', text: JSON.stringify(data, null, 2)}]}; } },

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

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