Skip to main content
Glama

whoop-get-user-profile

Retrieve basic user profile information including name and email for the authenticated WHOOP account holder to access personal identification details.

Instructions

Get basic user profile information (name, email) for the authenticated user

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "required": [], "type": "object" }

Implementation Reference

  • MCP tool handler that calls the WhoopApiClient to get user profile and returns JSON-formatted result as tool content.
    case 'whoop-get-user-profile': { const result = await this.whoopClient.getUserProfile(); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; }
  • Helper method in WhoopApiClient that performs the actual API call to fetch the user's basic profile information.
    async getUserProfile(): Promise<WhoopUserProfile> { const response = await this.client.get('/user/profile/basic'); return response.data; }
  • Registration of the tool in the list returned by ListToolsRequestSchema, including name, description, and empty input schema.
    { name: 'whoop-get-user-profile', description: 'Get basic user profile information (name, email) for the authenticated user', inputSchema: { type: 'object', properties: {}, required: [], }, },
  • Type definition for the user profile response data structure used by the tool.
    export interface WhoopUserProfile { user_id: number; email: string; first_name: string; last_name: string; }

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/nissand/whoop-mcp-server-claude'

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