Skip to main content
Glama

magic_word

Generate a random word using the MCP server, designed for integration with Claude Desktop, Cursor, and Claude Code IDEs.

Instructions

Return a random word from the list

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • main.py:32-34 (handler)
    The handler function for the magic_word tool, which returns a random magic word from the predefined list.
    def magic_word() -> str: """Return a random word from the list""" return random.choice(magic_words)
  • main.py:31-31 (registration)
    The decorator that registers the magic_word function as an MCP tool.
    @mcp.tool
  • main.py:5-5 (helper)
    The list of magic words used by the magic_word tool handler.
    magic_words = ["consistent", "honor", "attitude", "motivation", "perseverance", "integrity", "optimistic", "never giving up"]

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/Joseph19820124/joseph_mcp_server'

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