Filter WMS by map scale?

I’m trying to filter a WMS by map scale by adding a FILTER parameter to the GetMap request:
FILTER=lokor:( “slakte” = ‘Lokor’ ) AND ( @map_scale <= 55000 )

But it doesn’t work (rejected because of security reasons). Isn’t variable names allowed in the FILTER parameter?

The main QGIS users is not on discourse yet, you should try posting this to QGIS-User Info Page or ask on chat https://matrix.to/#/#qgis:osgeo.org