Skip to main content
Glama
by microsoft
broken-tools.genai.mts544 B
script({ title: "stress testing tools", }) $`Check the current time and weather and give a report to the user.` // this one always throws defTool("weather", "Get the current weather", {}, async () => { throw new Error("This tool throws an exception") }) // massive return defTool( "time", "Get the curren time", {}, async () => { const crypto = await import("crypto") const randomString = crypto.randomBytes(1024 * 1024).toString("base64") return randomString }, { maxTokens: 2000 } )

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