There is no single legal definition of capacity. The legal definition of capacity depends upon the type of decision being made. There are a variety of legal tests of capacity that are always assessed by reference to the capacity to do something, such as enter into a contract, make a will, or provide instructions to a lawyer.
The Guidelines are for legal practitioners to assist in ascertaining whether a client has capacity for the type of decision being made.