Skip to main content
Glama
region.ts554 B
import { z } from 'zod'; export const RegionSchema = z.object({ id: z.string(), worldId: z.string(), name: z.string(), type: z.enum(['kingdom', 'duchy', 'county', 'wilderness', 'water', 'plains', 'forest', 'mountain', 'desert', 'city']), centerX: z.number(), centerY: z.number(), color: z.string(), ownerNationId: z.string().nullable().optional(), controlLevel: z.number().int().min(0).max(100).default(0), createdAt: z.string().datetime(), updatedAt: z.string().datetime(), }); export type Region = z.infer<typeof RegionSchema>;

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/Mnehmos/rpg-mcp'

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