Detect monitor connection type (VGA/DP)

Is there a way to determine a monitor’s connection type other then using the information in the monitor name?

Not via the GLFW API. Full documentation:
https://www.glfw.org/docs/latest/monitor_guide.html