Skip to main content
Glama
parse-prd.js619 B
import { z } from 'zod'; // Schema for a single task from PRD parsing const PRDSingleTaskSchema = z.object({ id: z.number().int().positive(), title: z.string().min(1), description: z.string().min(1), details: z.string().nullable(), testStrategy: z.string().nullable(), priority: z.enum(['high', 'medium', 'low']).nullable(), dependencies: z.array(z.number().int().positive()).nullable(), status: z.string().nullable() }); // Schema for the AI response - only expects tasks array since metadata is generated by the code export const ParsePRDResponseSchema = z.object({ tasks: z.array(PRDSingleTaskSchema) });

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/eyaltoledano/claude-task-master'

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