Skip to main content
Glama
drewsungg

Pokemon Showdown MCP Server

by drewsungg

get_move

Retrieve detailed move information for competitive Pokemon battles, including power, accuracy, type, effects, and descriptions.

Instructions

Look up a move by name. Returns power, accuracy, type, category, priority, effects, and full description.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesMove name (e.g., 'thunderbolt', 'earthquake', 'swords-dance')

Implementation Reference

  • Core handler function that implements the get_move tool: ensures data is loaded, normalizes the input name by lowercasing and removing spaces/hyphens, then retrieves and returns the corresponding move data dictionary or None.
    def get_move(self, name: str) -> dict | None: """ Get move data by name. Args: name: Move name (case-insensitive) Returns: Move data dict or None if not found """ self.load_all() key = name.lower().replace(" ", "").replace("-", "") return self.moves.get(key)
  • Input schema for the get_move tool, defining a single required string parameter 'name' with description and examples.
    inputSchema={ "type": "object", "properties": { "name": { "type": "string", "description": "Move name (e.g., 'thunderbolt', 'earthquake', 'swords-dance')" } }, "required": ["name"] }
  • Registration of the 'get_move' tool in the MCP tools list, including name, description, and input schema.
    Tool( name="get_move", description="Look up a move by name. Returns power, accuracy, type, category, priority, effects, and full description.", inputSchema={ "type": "object", "properties": { "name": { "type": "string", "description": "Move name (e.g., 'thunderbolt', 'earthquake', 'swords-dance')" } }, "required": ["name"] } ),
  • Dispatch logic in the MCP server's call_tool function that handles invocation of get_move by calling the loader method and formatting the response.
    elif name == "get_move": move = loader.get_move(arguments["name"]) if move: return [TextContent(type="text", text=format_move_response(move))] return [TextContent(type="text", text=f"Move '{arguments['name']}' not found.")]

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/drewsungg/mcpkmn-showdown'

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