On the one hand, we have a set of property values. Among these are declarative, interrogative and imperative. On the other hand, we have a separate set of property values. These include indicative and subjunctive. On the gripping hand, we have the label mode, which is generally used for either property.
The properties seem distinct, if not quite orthogonal:
We can do that. -- declarative and indicative
We could do that. -- declarative and subjunctiveCan we do that? -- interrogative and indicative
Could we do that? -- interrogative and subjunctiveHey you, do that! -- imperative, probably neither indicative nor subjunctive
Please understand that, in the context of this question, I don't care whether "can" is denotatively dynamic, alethic, or anything else. I'm looking at mode as marked by grammar. Or, alternately, I'm looking for some category other than mode that describes one set while ignoring the other.
Do we have a way to label the separate sets? We can see what distinguishes the interrogative from the declarative, as a given clause can employ no more than one of those modes. What distinguishes the interrogative mode from the subjunctive mode, given that both modes can be employed by the same clause?
Edit:
The site Linguistic Girl proposes the label sentence purpose to describe that property of which declarative, interrogative and imperative are values. Unfortunately, it also lists exclamatory as a purpose, despite the fact that whatever property it represents is clearly orthogonal to the rest. The site K12 Reader gives no better label than sentence type to this same group of four. The relevant Wikipedia page is titled sentence function.
The moment we stumble across a tag question, we should immediately realize that it is not the sentence but the clause which has this property. Still, function, type, purpose -- is this really the best we can do?