Skip to main content
Glama

retell_get_agent_versions

Retrieve version history for an AI agent to track changes, compare iterations, and manage updates within the Retell AI platform.

Instructions

Retrieve the version history of an agent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesThe agent ID to get versions for

Implementation Reference

  • src/index.ts:592-605 (registration)
    Tool registration entry in the tools array, including name, description, and input schema definition.
    { name: "retell_get_agent_versions", description: "Retrieve the version history of an agent.", inputSchema: { type: "object", properties: { agent_id: { type: "string", description: "The agent ID to get versions for" } }, required: ["agent_id"] } },
  • Input schema for validating the tool's arguments, requiring an agent_id string.
    inputSchema: { type: "object", properties: { agent_id: { type: "string", description: "The agent ID to get versions for" } }, required: ["agent_id"] }
  • Handler implementation within the executeTool switch statement, which performs a GET request to the Retell API endpoint `/get-agent-versions/{agent_id}` using the shared retellRequest helper.
    case "retell_get_agent_versions": return retellRequest(`/get-agent-versions/${args.agent_id}`, "GET");
  • src/index.ts:1283-1285 (registration)
    MCP server registration for listing all tools, which exposes the retell_get_agent_versions tool via the tools array.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools }; });
  • src/index.ts:1287-1293 (registration)
    MCP server registration for tool execution requests, which routes to executeTool based on the tool name.
    // 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>); return {

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