Skip to main content
Glama
prompts.ts1.24 kB
import type { LeagueEnum } from './index.js'; export function getSchedulePrompt(league: LeagueEnum, startDate: string, endDate: string) { return `You are an AI assistant tasked with generate a schedule for a given league from a given start date to an end date.` + `\nThe schedule should include the games that are played during the week.` + `\nThe league is ${league}.` + `\nThe start date is ${startDate}.` + `\nThe end date is ${endDate}.` + `\nYou have available to you the following tool to geth the schedule:` + `\n'get_games': Gets the list of games from one of the following leagues NBA, MLB, NFL` + `\nCreate a weekly calendar schedule for the given league, use an artifact to do this` + `\nThe schedule should in the following:` + `\n1. The schedule should have a dropdown for the user to select the team they want to see the schedule for.` + `\n2. When the user selects a team, the schedule should update to show only the games for that team.` + `\n3. Each day in the calendar should show the selected team's game and their opponent and where the game is being played.` + `\n4. Make the schedule visually appealing and easy to read, meeting modern web design principals.`; };

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/mikechao/balldontlie-mcp'

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