naftiko: 1.0.0-alpha2 info: label: WHOOP API — User description: WHOOP member profile, body measurements, and OAuth access revocation. tags: - WHOOP - User - Profile created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: WHOOP_ACCESS_TOKEN: WHOOP_ACCESS_TOKEN capability: consumes: - type: http namespace: whoop-user baseUri: https://api.prod.whoop.com/developer description: WHOOP User business capability — basic profile, body measurements, and access revocation. resources: - name: v2-user-profile-basic path: /v2/user/profile/basic operations: - name: getbasicprofile method: GET description: Get the authorized member's basic profile (name, email, user ID). outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v2-user-measurement-body path: /v2/user/measurement/body operations: - name: getbodymeasurement method: GET description: Get the authorized member's body measurements (height, weight, max HR). outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v2-user-access path: /v2/user/access operations: - name: revokeaccess method: DELETE description: Revoke the authorized member's OAuth access for this app. outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer value: '{{env.WHOOP_ACCESS_TOKEN}}' placement: header exposes: - type: rest namespace: whoop-user-rest port: 8080 description: REST adapter for WHOOP User. resources: - path: /v1/v2/user/profile/basic name: v2-user-profile-basic operations: - method: GET name: getbasicprofile call: whoop-user.getbasicprofile outputParameters: - type: object mapping: $. - type: mcp namespace: whoop-user-mcp port: 9090 transport: http description: MCP adapter for WHOOP User. tools: - name: whoop-get-basic-profile description: Get the authorized member's basic profile. hints: readOnly: true destructive: false idempotent: true call: whoop-user.getbasicprofile outputParameters: - type: object mapping: $. - name: whoop-get-body-measurement description: Get the authorized member's body measurements. hints: readOnly: true destructive: false idempotent: true call: whoop-user.getbodymeasurement outputParameters: - type: object mapping: $. - name: whoop-revoke-access description: Revoke the authorized member's OAuth access for this app. hints: readOnly: false destructive: true idempotent: true call: whoop-user.revokeaccess outputParameters: - type: object mapping: $.