Can Asterisk Manager API listen to variables set in dialplan

I am hoping to use asterisk manager api to listen to calls made. During the dialplan I set variables like result = yes or status = confirmed.

I know the manager can detect events like hangup, do monitoring, etc, but
Can the manager interface also listen to (grab) these dial plan variables? I see the getvar command, but the variable is defined a little ways down the dialplan, so how does asterisk ‘know’ when to get the real value.