head to head
Neither is simply harder - they are hard in different places. Clash of Clans demands more reads; Portal demands more execution.

Optimization · Pure Optimization
Base-building strategy game about optimizing upgrade economy and raid compositions.

Optimization · Pure Optimization
The portal-gun puzzle game whose solutions are everything.
Clash of Clans leans Optimization (Pure Optimization); Portal leans Optimization (Pure Optimization).
Portal leans clearly harder on execution.
Clash of Clans
Troop drop placement is forgiving
Portal
Portal placement timing modest.
Clash of Clans leans clearly harder on reads.
Clash of Clans
Base layouts anticipate human attackers' habits
Portal
No adversary modeling player.
Clash of Clans leans clearly harder on variance.
Clash of Clans
Matchmaking and unseen traps add uncertainty
Portal
Deterministic chambers; no randomness.
Same score on optimization - which means the number cannot separate them. The difference is in what each one asks of you.
Clash of Clans
Army comps, upgrade paths, and attack routing
Portal
Pure puzzle-solving optimization.
A matching score does not mean a matching test. Two games can both sit at 10 on execution and demand completely different things of you - which is why the reasoning above matters more than the number beside it.