There is no more direct API because that would violate security constraints, which isolate processes from one another unless they agree to accept requests from other processes. That agreement takes the form of an AppleScript scripting dictionary. The dictionary describes those things that other processes can manipulate. Things not in the dictionary can't be externally manipulated. There may be exceptions to this in some cases, but it is the general guiding principle.