Matching Dragons to Runes/Glyphs
A rune/glyph will only work if the dragon has the spell or resist named in the glyph/rune. Attaching a cannon resist glyph to a dragon that resists archer towers will not make that dragon resist both cannons and archer towers.
Additionally, the spell must be exactly the same in order to work. Invert & reverse projectiles do not use the same runes; neither do invincibility and northern lights, shield blast and explosive shield, or any other similar yet differently named spells.
Mythic & Sapphire+ Dragons
Most have spells that do not have runes for them. Many players will attach runes with a secondary effect of rage or wisdom to these dragons as that is the only buff they can use. Examples: Hauheset, Apophet, A&A
What you’re looking for is not around that I know of.
Best bet is to search google for “spell name war dragons blog”. Note that some of these have changed with either fixes or spell scaling.
Second is just have to calc it yourself from turning on damage numbers. Make sure to attack a base with high enough towers not to one shot and has no debuffs. Hunters per shot is dps/2, Warrior per damage shown is dps/10, but most spells work as their own total power so usually not applicable, good to know though.
To the OP I think the only two ways of checking this is through the files like someone has done here, or checking the release notes of the dragon. IE for new divines in their full announcement. It’s a cumbersome method and I would love to see some form of this in game.