What is the problem the feature request solves?
In #2614 the function signatures were improved so that they specify which data types are accepted, rather than just specifying the number of parameters. This helped reduce the number of invalid queries that were generated.
However, this was a manual effort and it would be better if we could automate this somehow.
Some ideas mentioned by @wForget in #2614 (comment) are:
Describe the potential solution
No response
Additional context
No response