How Can I Use KM Pass Text Parameters to Shortcuts for Using macOS Monterey's Offline Translation Feature?

In the shortcut, I used "Receive text from", then I tried using "echo -n "text" | shortcuts run shortcutname, but seems didn't get any response.

I read this article:
A Keyboard Maestro Plugin for Apple Shortcuts | ThoughtAsylum

But unfortunately it failed again.