# How to tweak expansion of glossary entry in section/chapter title and ToC?

I'm using glossaries to generate my acronyms. Sometimes the first definition of the acronym is placed in a section or chapter title. When I generate the ToC, then obviously that will become the first occurrence and will be expanded, but the acronym in the tile will not. Is it possible to have them expand either in both places or only in the tile, not the ToC? I'd like a general solution, meaning that I don't want to manually reset the glossary before the title where the acronym appears.

Here's a very short example of what I have:

\documentclass{amsbook}

\usepackage[acronym,nonumberlist]{glossaries}
\newacronym{MOSFET}{MOSFET}{metal-oxide semiconductor field-effect transistor}
\makeglossaries

\begin{document}
\tableofcontents
\chapter{\Gls{MOSFET}}
\printglossaries
\end{document}


EDIT: This post is related, but doesn't really do...

-

{\let\gls\glsfirst