Get SURFACE TYPE of contact point

SURFACE TYPE aircraft variable returns ID of the surface under CG point /
parameter toggle effect visibility depends on surface type under CONTACT POINT
My question - is it possible with XML/SimConnect/JS to get surface type of
contact points? I have followed effects template code but it ends as adding
SurfaceType attribute, which is then read by sim code I guess rather than use
any existing sim variables logic. Alternative solutions may exist - configure
the effect to be triggered by the surface I need, then read by XML state of
this effect (is it active or not).