Tolfenamic acid is a member of the anthranilic acid derivatives (or fenamate) class of NSAID drugs. Like other members of the class, it is a COX inhibitor and prevents formation of prostaglandins.
The compounds of every Wikipedia article carrying a Chembox or a Drugbox, refreshed daily, with the values their infoboxes give. The pages need JavaScript; the API does not.