Skip to main content
Glama

get_game_details

Retrieve comprehensive game specifications including components, artwork files, and pricing details to review projects before modification.

Instructions

Get full game info including name, description, component list with quantities, file references, and pricing. Use this to review a game before making changes. Requires authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
game_idYesThe game ID to get details for. Get this from the get_my_games tool.

Implementation Reference

  • The handler function that executes the `get_game_details` tool logic by calling the client's `getGame` method.
    export function handleGetGameDetails(client: TgcClient) {
      return async (args: { game_id: string }): Promise<CallToolResult> => {
        const game = await client.getGame(args.game_id);
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify(game, null, 2),
            },
          ],
        };
      };
    }
  • The input schema definition for the `get_game_details` tool, requiring a `game_id`.
    // Tool 6: get_game_details — full game info with components
    export const getGameDetailsInput = {
      game_id: safeId.describe(
        "The game ID to get details for. Get this from the get_my_games tool.",
      ),
    };

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/alex-gon/thegamecrafter-mcp-server'

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