You can use dbGet to see the side of the pin. Assuming this is an "hterm" (i.e. pin of a hierarchical block 'fence'), do the following:
set htermPtr [dbGetHTermByInstTermName full_hier_path/pin_name]
However, it should be noted that this will return the side of the master and, thus, you would need to figure out what that transforms to if the clone has a non-R0 orient (i.e. North = South if clone is MX). I don't know what will come back if this "block" is loaded from LEF. Note that a LEF block's pin could be internal and not actually have a "side".
Hope that helps,