That was the extent of her contribution.
The primary feature that Mary lent to His genealogy is that one is a Jew by virtue of being born of a woman who is a Jew. That is indisputable naturally.
However, His legal claim to the throne, His royal right, comes through Joseph, the husband to which his mother was wedded, and who descended through the kingly line from Solomon; not through Nathan, from whom Mary was descended.
His Divinity consists of clothing His Spirit with the Perfect Unfallen Living Body conceived into Mary. He was not Mary: He was/is another individual, as is every infant born of a mother.
>> “However, His legal claim to the throne, His royal right, comes through Joseph, the husband to which his mother was wedded” <<
.
No, that is absolutely false.
Royal lineage must be by blood, and kings of Israel are anointed by Yehova.
.