The hotel manager and another member of staff at the Hotel Agra Mahal have been charged with harassment and will appear in court later on Wednesday, deputy superintendent of Agra police Swaranjeet said.
"She has spoken to her family in the UK and her mother will be coming here to take her back home," added the police officer.
"The girl is much better, she is safe. She is still here."
The woman, in her early 30s, has told police the hotel manager had been pestering her with offers of a massage and then tried to force his way into her room at 04:00 am on Tuesday morning.
The incident came just days after a Swiss cyclist was gang-raped in the central state of Madhya Pradesh by a group of villagers late Friday, while on a cycling trip with her husband that was meant to include a stopover in Agra.
That attack refocused attention on the country's poor record on safety for women, after thousands took to the streets in nationwide protests following the fatal gang-rape of an Indian student on a bus in New Delhi in December.
India's lower house of parliament passed a bill on Tuesday that would toughen sentences for sex offenders and crimes such as stalking, groping and voyeurism.