Hi,
yes, it is a passive two port device, and for your application you have to put it in series between your amplifier output and your spectrum analyzer input.
As long you are not exeeding the maximum input power of your measurement device (VNA, spectrum analyzer) you do not need an attenuator. The maximum input power is usually stated in the vicinity of your measurement devices's RF ports. Note, you also have to set the internal attenuator of your VNA propperly to be able to use this maximum input power level.
BR