Parts of your description are vaguely reminiscent of "The City" (aka "Purpose"), a short story by Ray Bradbury, originally published in Startling Stories, July 1950 (available at the Internet Archive), which was the answer to the old questions Humanity stumbles across ancient booby trap and Short story about astronauts visiting a planet for the first time that smells and tastes them and Book or short story about an empty city with deadly traps.
What matches: It's an old story by Ray Bradbury about a deadly ancient city. One member of the party, the captain, is separated from the others; he is the first one killed, and his fate is described in detail:
A final test. The city, having listened, watched, tasted, felt, weighed, and balanced, must perform a final test.
A trap flung wide in the street. The captain, unseen to the others, running, vanished.
Hung by his feet, a razor drawn across his throat, another down his chest, his carcass instantly emptied of its entrails, exposed upon a table under the street, in a hidden cell, the captain died. Great crystal microscopes stared at the red twines of muscle; bodiless fingers probed the still pulsing heart. The flaps of his sliced skin were pinned to the table while hands shifted parts of his body like a quick and curious player of chess, using the red pawns and the red pieces.
What doesn't match: Everything else.
1. The city was not on Mars, it was on an extra-solar planet:
The city waited with its windows and its black obsidian walls and its sky towers and its unpennanted turrets, with its untrod streets and its untouched doorknobs, with not a scrap of paper or a fingerprint upon it. The city waited while the planet arced in space, following its orbit about a blue-white sun, and the seasons passed from ice to fire and back to ice and then to green fields and yellow summer meadows.
It was on a summer afternoon in the middle of the twenty-thousandth year that the city ceased waiting.
In the sky a rocket appeared.
2. The exploring party is nine astronauts, no tourists:
The rocket soared over, turned, came back, and landed in the shale meadow fifty yards from the obsidian wall.
There were booted footsteps in the thin grass and calling voices from men within the rocket to men without.
"Ready?"
"All right, men. Careful! Into the city. Jensen, you and Hutchinson patrol ahead. Keep a sharp eye."
3. There are no survivors. The dead bodies of the nine astronauts head back to Earth, controlled by alien machines:
The incisions on their necks were invisible, as were their hidden brass hearts and silver organs and the fine golden wire of their nerves. Their was a faint electric hum from their heads.
"On the double!"
Nine men hurried the golden bombs of disease culture into the rocket.
"These are to be dropped on Earth."
"Right, sir!"
The rocket valve slammed.
The rocket jumped into the sky.
As the thunder faded, the city lay upon the summer meadow. Its glass eyes were dulled over. The Ear relaxed, the great nostril vents stopped, the streets no longer weighed or balanced, and the hidden machinery paused in its bath of oil.
In the sky the rocket dwindled.
Slowly, pleasurably, the city enjoyed the luxury of dying.