add note regarding order in get-context doc
use first agents to determine attr.type