Here's why:
* Adjectives describe nouns. In this case, "useful" describes the noun (which is implied) that is being considered "quite useful". For example, "The tool is quite useful".
* "Quite" is an adverb. It modifies the adjective "useful" by indicating the degree to which the thing is useful.