You'd get your perks and points thru travel agents when they book thru the Marriott website or thru their GDS/CRS (computer reservation systems). But most travel agents book thru 3rd party sites for consolidator rates which ate like Agoda, Booking.com etc - and that means no perks for you.