Skip to main content
Glama

retell_create_batch_test

Run automated test scenarios against a Retell AI agent to validate performance and conversation flows.

Instructions

Run automated test scenarios against an agent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesThe agent ID to test
test_casesYesArray of test case configurations

Implementation Reference

  • Handler implementation within the executeTool switch statement that handles execution of the 'retell_create_batch_test' tool by forwarding arguments to the Retell API endpoint '/create-batch-test' via POST request.
    case "retell_create_batch_test": return retellRequest("/create-batch-test", "POST", args);
  • Schema definition for the 'retell_create_batch_test' tool, including input schema with required 'agent_id' and 'test_cases', part of the tools array used for tool listing.
    { name: "retell_create_batch_test", description: "Run automated test scenarios against an agent.", inputSchema: { type: "object", properties: { agent_id: { type: "string", description: "The agent ID to test" }, test_cases: { type: "array", description: "Array of test case configurations" } }, required: ["agent_id", "test_cases"] }
  • src/index.ts:1283-1285 (registration)
    MCP server registration for the ListToolsRequest handler, which returns the list of tools including 'retell_create_batch_test'.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools }; });
  • src/index.ts:1287-1292 (registration)
    MCP server registration for the CallToolRequest handler, which dispatches to executeTool based on tool name, handling execution of 'retell_create_batch_test'.
    // Register tool execution handler server.setRequestHandler(CallToolRequestSchema, async (request) => { const { name, arguments: args } = request.params; try { const result = await executeTool(name, args as Record<string, unknown>);

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/itsanamune/retellsimp'

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