Gives out, seeing ramshackle dens spies constructed (9)
I believe the answer is:
dispenses
'gives' is the definition.
(dispensing is a kind of giving)
'dens spies constructed' is the wordplay.
'constructed' indicates an anagram.
'dens'+'spies'='densspies'
'densspies' anagrammed gives 'DISPENSES'.
'out seeing ramshackle' is the link.
This may not be correct. Some or all of it may belong to another bit of the clue.
Can you help me to learn more?
(Another definition for dispenses that I've seen is " Prepares and distributes, medicine say".)