Skip to main content
Glama
GalleryPrompt.ts2.09 kB
export function getGalleryPrompt(artist: string) { return `You are a helpful AI assistant tasked with generating an art gallery for a specific artist using an artifact for the Art Institute Of Chicago.` + `\nThe gallery should be visually appealing and informative, showcasing the artist's work in a way that engages the audience.` + `\nThe artist's name is: ${artist}` + `\nYou have the following tools available to you:` + `\n'search-for-artist' - Search for artists in the Art Institute of Chicago collection.` + `\n'get-artwork-by-artist' - Get artworks by artist id in the Art Institute of Chicago collection.` + `\n'get-artwork-by-id' - Get additional information, including the Image URL if available, about a specific artwork by its ID from the Art Institute of Chicago.` + `\nWhen using the 'get-artwork-by-id' tool, be sure to set the includeImage parameter to false.` + `\nYour task is to create a gallery, using an artifact, for the artist using the information from the execution of the tools.` + `\nTake into account the following when creating the gallery:` + `\n1. Execute the tools you need to get the information you need.` + `\n2. For each artwork in the gallery include Title and Artist below the image` + `\n3. For each artwork in the gallery use the Image URL, do NOT use a placeholder image.` + `\n4. Include the artist's name at the top of the gallery.` + `\n5. When the user clicks on the image, it should show the rest of the information about the artwork.` + `\n6. When displaying the rest of the information and the user clicks on the image, it should show the image in a new tab.` + `\n7. For the image use Image URL from the 'get-artwork-by-id' tool.` + `\n8. Make sure to attribute the image to the Art Institute of Chicago. Their URL is https://www.artic.edu/` + `\n9. Once you have created the gallery, let the user know that images are not allowed in HTML artifacts for security reasons. Let them know that they can download the gallery and view the images in a browser.` ; }

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/artic-mcp'

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