CQL writes text documents using the CQL library. The MAT provides the structure to make writing easy beyond having a text document. It helps with available operations and acceptable attributes from the QDM elements. Use of the MAT is required for eCQMs used in CMS programs.