The clerk shall judge of the sufficiency of the penalty and the security in the bond; if they be approved, he shall endorse his approval thereon, and the same, together with the affidavit and petition or other lawful statement of the cause of action, shall be filed before an attachment shall be issued; provided, that in all cases where the clerk shall be a party to the suit, the sheriff shall pass on and determine the sufficiency of the bond.
§ 521.080, RSMo