Skip to main content
Glama

user_start

Start a new Minesweeper game for a specific user by providing their unique slug identifier to initialize gameplay.

Instructions

Start a new game for a user slug.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_slugNo

Implementation Reference

  • Tool definition for "user_start" in src/tools/handlers.ts.
    {
      name: "user_start",
      description: "Start a new game for a user slug.",
      inputSchema: {
        type: "object",
        properties: {
          user_slug: { type: "string" },
        },
      },
    },
  • Handler implementation for "user_start" in src/tools/handlers.ts.
    async (input) => {
      const userSlug = requireStringOrEnv(
        (input as { user_slug?: unknown })?.user_slug,
        "user_slug",
        process.env.MINESWEEPER_USER_SLUG,
        "MINESWEEPER_USER_SLUG"
      );
      return rails.startGame(userSlug);
    }

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/geeknees/minesweeper-mcp'

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