Skip to main content
Glama

get_call

Retrieve specific call details from VOYP's telephony system using a call ID to access information about call status, scheduling, and secure telephony actions.

Instructions

Retrieve call details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesCall Id

Implementation Reference

  • Handler function that retrieves call details by making a GET request to the Voyp API with the provided call ID and returns the JSON response or an error message.
    } else if (request.params.name === "get_call") { const id = request.params.arguments?.id; try { const response = await this.axiosInstance.get<StartCallResponse>(API_CONFIG.ENDPOINTS.CALL + id); return { content: [{ type: "text", text: JSON.stringify(response.data) }] }; } catch (error) { if (axios.isAxiosError(error)) { return { content: [{ type: "text", text: `Voyp API error: ${error.response?.data.message ?? error.message}` }], isError: true, } } throw error; }
  • Tool schema definition including name, description, and input schema requiring a 'id' string parameter.
    { name: "get_call", description: "Retrieve call details", inputSchema: { type: "object", properties: { id: { type: "string", description: "Call Id" } }, required: ["id"] } },

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/paulotaylor/voyp-mcp'

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