A reduced program for the next Games was announced on Tuesday, but Sir Keir insisted the event would still be of great importance to the Scottish economy.
Only 10 sports will make up the program of events due to financial constraints.
Athletics and swimming are included as compulsory sports for 2026, while there will also be track cycling, gymnastics, netball, weightlifting, boxing, judo, bowls and 3×3 basketball.
There will be integrated para events in six of the sports – athletics, swimming, track cycling, weightlifting, bowling and basketball.
Among the sports missing from the 2022 Games in Birmingham are triathlon, diving, hockey, T20 cricket, squash, badminton and rugby sevens.
The Games are returning to Glasgow, which hosted the event in 2014 after the Australian state of Victoria pulled out due to rising costs.
Asked if the scaled back plans for 2026 were a sign that the Commonwealth Games should be scrapped, Sir Keir told reporters: “No.
“I think they’re really important and I’m glad they’re hosting in Scotland and I think we’re going to put on a really good show and we always do.”
Speaking ahead of his arrival at a summit of Commonwealth political leaders in Samoa, Sir Keir said the Games would still be worth £100m to the economy.
He added: “Yes, it will be reduced, as you know, but even reduced it costs a lot of money to the economy in Scotland and so I’m glad we’re taking them into Scotland.”
Scotland’s First Minister John Sweeney warned earlier this week that the pared-down events program could lead to further cuts if costs rise.
While he hoped this could be “avoided”, Mr Sweeney said tight financial constraints imposed “a duty to ensure there are effective financial controls around the preparation of the Games”.
The Prime Minister’s official spokesman later said Sir Keir wanted to “see a successful Commonwealth Games from 2030 and beyond”.
“He continues to see the Commonwealth not only as a key pathway for elite athletes, a great event for spectators, but also a great opportunity to bring the Commonwealth family of nations together in a positive and impactful way,” the spokesman added.