It would be helpful to have a description of accessible objects in the gateway event scripts, like it's already the case for message handlers.
As it is now (8.1.21), there is absolutely no in-designer documentation whatsoever for tag change scripts, so you have to go and check the online doc to find what parameters are available there.
screenshots joined: Tag change script with no doc, and message handler with parameters description.