Skip to main content
Glama
schema.js899 B
import z from "zod"; export const fenSchema = z .string() .regex(/^([rnbqkpRNBQKP1-8]+\/){7}[rnbqkpRNBQKP1-8]+ [bw] [KQkq-]+ [a-h][1-8]|[a-h][1-8]|[a-h][1-8]|[a-h][1-8]|- \d+ \d+$/, "Invalid FEN format").describe("FEN string representing the board position"); export const sideSchema = z.enum(["w", "b"]).describe("Side to evaluate from"); export const engineDepthSchema = z.number().min(12).max(30).describe("Search depth for Stockfish engine"); export const moveSchema = z.string().describe("The move to be played (in SAN or UCI format)"); export const gamePgnSchema = z.string().describe("Game PGN"); export const cbmGameIdSchema = z.string().describe("game ID to fetch chessboardmagic game"); export const cbmRepIdSchema = z.string().describe("repertoire ID to fetch a repertoire from chessboardmagic"); export const is3dSchema = z.boolean().describe("3D view of the board").optional();

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/jalpp/chessagine-mcp'

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