Skip to main content
Glama
by microsoft
defrange.genai.mjs567 B
script({ model: "large", files: "src/templates/basic.prompty", tests: { keywords: ["CORRECT1", "CORRECT2", "CORRECT3"], }, }) def("START", env.files, { lineStart: 29 }) def("END", env.files, { lineEnd: 40 }) def("RANGE", env.files, { lineStart: 29, lineEnd: 40 }) $`- Respond CORRECT1 if the content of START starts with "system:" otherwise INCORRECT1 - Respond CORRECT2 if the content of END ends with "user:" otherwise INCORRECT2 - Respond CORRECT3 if the content of RANGE starts with "system:" and ends with "user:" otherwise INCORRECT3`

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/microsoft/genaiscript'

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