Skip to main content
Glama

get_user

Retrieve user profile information from the VOYP telephony system to access calling capabilities and manage communication settings.

Instructions

Retrieve user profile

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'get_user' tool. It performs a GET request to the Voyp API profile endpoint and returns the JSON response or an error message.
    } else if (request.params.name === "get_user") { try { const response = await this.axiosInstance.get<StartCallResponse>(API_CONFIG.ENDPOINTS.USER); 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; }
  • src/index.ts:303-312 (registration)
    Registration of the 'get_user' tool in the ListTools handler, defining its name, description, and input schema (no required parameters).
    { name: "get_user", description: "Retrieve user profile", inputSchema: { type: "object", properties: { }, required: [] } }]
  • Schema definition for the 'get_user' tool, specifying an empty object input with no properties or requirements.
    { name: "get_user", description: "Retrieve user profile", inputSchema: { type: "object", properties: { }, required: [] } }]

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