As far as I can remember, it really wasnt made for anyone but it was found by Bilbo Baggins and his other dwarf companions in The Hobbit in the hoard of the trolls that they have defeated.
It was a knife manufactured in Gondolin in the First Age, carried away as spoil by the creatures of Morgoth who destroyed that city. It was rediscovered millennia later in a troll-hoard by Bilbo Baggins, who named it Sting after using it to rescue the companions of Thorin Oakenshield from the giant spiders of Mirkwood.
60 years later, he gave it to his cousin Frodo Baggins to carry it as a weapon and protection for his quest to destroy the One Ring.
It glows when orcs are nearby.
Sting Sword Inscription
(please log in to view the image)
Maegnas aen estar nín - dagnir in yngyl im
'Sting is my name, I am the spiders bane'
Attachment: bladeclose1.jpg
This has been downloaded 44 time(s).
It is not known who owned it in Gondolin.
Maybe one of the Lords, but as it's quite short, I don't think it was used as a sword but rather as a knife as shadowy_blue said.
Strange that Sting already talks about the spiders as Bilbo destroyed them far later - perhaps it was reforged or was made by someone who predicted the story.
__________________ Life is complex: it has both real and imaginary components.
i thought it was kind of weird that the sword mentioned spiders, but maybe it is because of ered gorgoroth where ungoliants offspring were, but then again the people of gondolin rarely left the city, who knows?
__________________
and filled with wrath and despair he mounted upon Rochallor his great horse and rode forth alone, and none might restrain him. He passed over Dor-nu-Fauglith like a wind amid the dust, and all that beheld his onset fled in amaze, thinking that Oromë himself was come: for a great madness of rage was upon him, so that his eyes shone like the eyes of the Valar.