Hi, David,
Course name is not variable. If you need whole module score you can call
GetObjectiveScore(sObjectiveId)
(sObjectiveId must be ID of module objective) it returns raw score.
But actually there are AICC and SCORM standards that include all that you need and a lot of other useful things. Perhaps it would be much easier to switch to one of this standard to pass data to LMS?