Spanners are generally suitable for tighter spaces. More specialised ones are strap spanners, which use a flexible material that wraps around the object and tightens around it using friction.