Skip to main content
Glama

whoop-revoke-user-access

Revoke user access tokens to terminate WHOOP API authorization and secure fitness data access.

Instructions

Revoke the access token granted by the user

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP server tool handler for 'whoop-revoke-user-access' that calls the WhoopApiClient method and returns success response.
    case 'whoop-revoke-user-access': { await this.whoopClient.revokeUserAccess(); return { content: [ { type: 'text', text: 'User access revoked successfully', }, ], }; }
  • Core implementation in WhoopApiClient: sends DELETE request to Whoop API endpoint '/user/access' to revoke user access.
    async revokeUserAccess(): Promise<void> { await this.client.delete('/user/access'); }
  • Tool registration in the ListTools response, including name, description, and input schema (no parameters required).
    { name: 'whoop-revoke-user-access', description: 'Revoke the access token granted by the user', inputSchema: { type: 'object', properties: {}, required: [], }, },
  • Input schema definition for the tool (empty object, no required parameters).
    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/nissand/whoop-mcp-server-claude'

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