The value of X is calculated only once, as Wickersmith's Tools's last ability resolves.

Artwork
Loading artwork…
Wickersmith's Tools
Lorwyn Eclipsed Commander · #21 · EN
Nonfoil—Foil—
Card rules
Whenever one or more -1/-1 counters are put on a creature, put a charge counter on this artifact.
: Add one mana of any color.
5,
, Sacrifice this artifact: Create X tapped 2/2 colorless Scarecrow artifact creature tokens, where X is the number of charge counters on this artifact.
Rare · Illustrated by Paolo Parente
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions