Skip to main content
Glama

game_chord

Chord a cell in Minesweeper to reveal adjacent safe cells and clear surrounding areas, helping players progress through the game efficiently.

Instructions

Chord a cell in a game.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
public_idYes
xYes
yYes

Implementation Reference

  • The handler function for the game_chord tool which calls rails.chordCell.
    async (input) => {
      const publicId = requireString(
        (input as { public_id?: unknown })?.public_id,
        "public_id"
      );
      const { x, y } = requireCoordinates(input);
      return rails.chordCell(publicId, x, y);
    }
  • Registration of the game_chord tool, including its name, description, and input schema.
    addTool(
      {
        name: "game_chord",
        description: "Chord a cell in a game.",
        inputSchema: {
          type: "object",
          properties: {
            public_id: { type: "string" },
            x: { type: "integer" },
            y: { type: "integer" },
          },
          required: ["public_id", "x", "y"],
        },
      },

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