A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
In each article in the SQL Server Docs (and other Microsoft Learn), there is a pen icon in the upper-right corner. with the tool-tip "Edit this document". Clicking this icon takes you to the Github repository. Rather than actually editing the document, you can opt to file an issue for the topic. I would recommend that you do the latter, and leave it to the writers to decide where they want to put this restriction. (Because it is obviously a restriction. Wresting out the @a from the XML string appears non-trivial. Even more so deducing a suitable data type for it.)
You will need to have a Github account. When filing an issue, include a link to the topic for sp_describe_undeclared_parameters, as the list of issues applies to the entire repository.
If you feel strongly that this restriction should actually be lifted, the place to go to is https://feedback.azure.com/forums/908035-sql-server. When filing a suggestion it certainly helps if you can state your business case. That is, what the impact of the restriction is etc. This is something Microsoft gives a lot of weight to. But as I noted above, I am not sure that this is doable at all, at least for untyped xml.