Amazon Glacier uses its own hash format which is called "SHA256 Tree Hash". The documentation of this hash format can be found http://docs.aws.amazon.com/amazonglacier/latest/dev/checksum-calculations.html.
I do not seem to be the only one who searched for an easy-to-use command-line tool. As I couldn't find an easy-to-use one for Linux, I decided to write my own.
The source code and some examples can be found at my github page.