When politicians have trouble spinning their own glories, that’s a problem.

So it was bizarre that Hillary Rodham Clinton, asked at a forum in April about her legacy at the State Department, had trouble articulating it. That feeds into a narrative — awaiting her memoir Tuesday — that she may have been glamorous as secretary of state but didn’t actually accomplish much.

In fact, that’s dead wrong, for Clinton achieved a great deal and left a hefty legacy — just not the traditional kind. She didn’t craft a coalition of allies, like James Baker, one of the most admired secretaries of state. She didn’t seal a landmark peace agreement, nor is there a recognizable “Hillary Clinton doctrine.” No, her legacy is different.

For starters, Clinton recognized that our future will be more about Asia than Europe, and she pushed hard to rebalance our relations. She didn’t fully deliver on this “pivot” — generally she was more successful at shaping agendas than delivering on them — but the basic instinct to turn our ship of state to face our Pacific future was sound and overdue.

More fundamentally, Clinton vastly expanded the diplomatic agenda. Diplomats historically focused on “hard” issues, like trade or blowing up stuff, and so it may seem weird and “soft” to fret about women’s rights or economic development. Yet Clinton understood that impact and leverage in 21st-century diplomacy often come by addressing poverty, the environment, education and family planning.

It’s not that Clinton was a softie. She was often more hawkish than the White House, favoring the surge in Afghanistan (a mistake, I believe) and the arming of moderate Syrian rebel groups (a good call, but one vetoed by President Barack Obama).

The kidnapping of the Nigerian schoolgirls in April was the kind of issue Clinton was out front of. She understood that educating girls isn’t a frilly “soft” issue, but a way to transform a country to make it less hospitable to extremists. No one argued more presciently that women’s rights are security issues.

“Those who argue that her championing of outreach to women and girls and her elevation of development was not serious miss a central reality of international politics in this century,” notes Nicholas Burns, who was undersecretary of state in the George W. Bush presidency. “These issues are now mainstream globally.”

Clinton was pioneering not only in the way she expanded the diplomatic agenda, but also in the tools she forged to promote it. She pushed government-to-people relations and people-to-people ties.

Some of this was pioneered in the George W. Bush administration, but Clinton greatly escalated public diplomacy with a rush into social media.

“She was very clear about it: This is the 21st century, and we’re fools if we don’t use it,” recalls Michael McFaul, who became ambassador to Russia in this time. McFaul then had no idea what a tweet was, and there was strong resistance from senior diplomats.

“I said the boss wants to do this,” McFaul recalls, and he ultimately became a champion tweeter.

Today it’s routine to use social media in multiple languages to communicate U.S. diplomatic messages to the world.

So, sure, critics are right that Hillary Rodham Clinton never achieved the kind of landmark peace agreement that would make the first sentence of her obituary. But give her credit: She expanded the diplomatic agenda and adopted new tools to promote it - a truly important legacy.

And, anyway, she may have grander dreams about how her obituary should begin.