Skip to main content
Glama

whoop-revoke-user-access

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

Instructions

Revoke the access token granted by the user

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

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

Implementation Reference

  • The core implementation of the 'whoop-revoke-user-access' tool. Makes a DELETE request to the Whoop API endpoint '/user/access' to revoke the user's access token.
    async revokeUserAccess(): Promise<void> { await this.client.delete('/user/access'); }
  • MCP server switch case handler that calls the WhoopApiClient's revokeUserAccess method and returns a success response.
    case 'whoop-revoke-user-access': { await this.whoopClient.revokeUserAccess(); return { content: [ { type: 'text', text: 'User access revoked successfully', }, ], }; }
  • Tool registration in the ListTools response, defining the tool 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