Skip to main content
Glama
tonderflash

Movie Search MCP Server

by tonderflash

movie_help

Search for movies, explore detailed info, and get genre-based recommendations using OMDb and TMDb APIs. Discover popular and trending films to enhance your viewing experience.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/index.ts:300-345 (registration)
    Registration of the 'movie_help' tool with an inline anonymous handler function that returns a comprehensive markdown-formatted help text describing all available MCP tools, required API keys, and usage examples.
    server.tool("movie_help", {}, async () => {
      const help = `
    🎬 **Movie Search MCP Server** 🎬
    
    **Available tools:**
    
    1. **search_movies** - Search movies by title
       - \`title\`: Movie title (required)
       - \`year\`: Movie year (optional)
    
    2. **get_movie_details** - Get complete movie information
       - \`id\`: Movie ID (IMDB ID or TMDb ID)
       - \`source\`: 'omdb' or 'tmdb' (default: omdb)
    
    3. **recommend_movies** - Get movie recommendations
       - \`genre\`: Specific genre (optional)
       - Available genres: action, adventure, animation, comedy, crime, documentary, drama, family, fantasy, history, horror, music, mystery, romance, science fiction, thriller, war, western
    
    4. **popular_movies** - Get the most popular movies of the week
    
    5. **movie_help** - Show this help
    
    **APIs used:**
    - 🎭 **OMDb API**: For detailed IMDB information
    - 🎬 **TMDb API**: For advanced searches and recommendations
    
    **Required configuration:**
    - Environment variable \`OMDB_API_KEY\` (get at: http://www.omdbapi.com/apikey.aspx)
    - Environment variable \`TMDB_API_KEY\` (get at: https://www.themoviedb.org/settings/api)
    
    **Usage examples:**
    - "Search for Batman movies"
    - "Get details for movie tt0468569"
    - "Recommend action movies"
    - "What are the popular movies?"
    `;
    
      return {
        content: [
          {
            type: "text",
            text: help,
          },
        ],
      };
    });
  • The inline handler for the movie_help tool, which constructs and returns a structured content response containing help documentation for the Movie MCP server.
    server.tool("movie_help", {}, async () => {
      const help = `
    🎬 **Movie Search MCP Server** 🎬
    
    **Available tools:**
    
    1. **search_movies** - Search movies by title
       - \`title\`: Movie title (required)
       - \`year\`: Movie year (optional)
    
    2. **get_movie_details** - Get complete movie information
       - \`id\`: Movie ID (IMDB ID or TMDb ID)
       - \`source\`: 'omdb' or 'tmdb' (default: omdb)
    
    3. **recommend_movies** - Get movie recommendations
       - \`genre\`: Specific genre (optional)
       - Available genres: action, adventure, animation, comedy, crime, documentary, drama, family, fantasy, history, horror, music, mystery, romance, science fiction, thriller, war, western
    
    4. **popular_movies** - Get the most popular movies of the week
    
    5. **movie_help** - Show this help
    
    **APIs used:**
    - 🎭 **OMDb API**: For detailed IMDB information
    - 🎬 **TMDb API**: For advanced searches and recommendations
    
    **Required configuration:**
    - Environment variable \`OMDB_API_KEY\` (get at: http://www.omdbapi.com/apikey.aspx)
    - Environment variable \`TMDB_API_KEY\` (get at: https://www.themoviedb.org/settings/api)
    
    **Usage examples:**
    - "Search for Batman movies"
    - "Get details for movie tt0468569"
    - "Recommend action movies"
    - "What are the popular movies?"
    `;
    
      return {
        content: [
          {
            type: "text",
            text: help,
          },
        ],
      };
    });
Behavior1/5

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

Tool has no description.

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

Conciseness1/5

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

Tool has no description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Tool has no description.

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

Parameters1/5

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

Tool has no description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

Tool has no description.

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

Usage Guidelines1/5

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

Tool has no description.

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

Related 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/tonderflash/movie-mcp'

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