President Trump and Sen. John McCain (Photos: Ron Sachs/CNP/MediaPunch/IPX via AP, Henry Romero/Reuters) The national security adviser’s job is to manage competing national security and foreign policy interests  the departments of Defense and State and the intelligence community, for example  and act as an honest broker to help the president reach a decision.