Skip to main content
Glama
load-test-functions.js580 B
/** * Load test functions for Artillery */ module.exports = { /** * Generate a request with the specified parameters */ generateRequest: function(userContext, events, done) { // Generate a unique ID for the request userContext.vars.id = Date.now().toString(); // Set the method, tool name, and arguments from the parameters userContext.vars.method = userContext.vars.params.method; userContext.vars.toolName = userContext.vars.params.toolName; userContext.vars.arguments = userContext.vars.params.arguments; return done(); } };

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/ryanmac/agent-twitter-client-mcp'

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