The first thing to mention is that, in general, modifying the config database directly is not recommended. You should use the helper methods provided by the shell. In this case, please use
sh.addShard() to add a shard (see
http://docs.mongodb.org/manual/reference/method/sh.addShard/ for documentation).
The parameter passed to sh.addShard() is a seed list of the host(s) that make up the shard. For a replica set, you need to provide the replica set name and at least one of the hosts in the replica set. The other hosts in the set will be automatically discovered. However, more than one node, including arbiters, may be specified if desired.
Regards,
Jon