remove_query_parameter
Remove URL normalization parameters from Bing Webmaster Tools to clean up site URLs and improve search indexing accuracy.
Instructions
Remove a URL normalization parameter.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes | ||
| parameter | Yes |
Implementation Reference
- mcp_server_bwt/main.py:1074-1097 (handler)The MCP tool handler for 'remove_query_parameter'. It uses type annotations for schema/input validation and calls the Bing Webmaster API endpoint 'RemoveQueryParameter' to perform the action. The @mcp.tool decorator handles registration.@mcp.tool( name="remove_query_parameter", description="Remove a URL normalization parameter." ) async def remove_query_parameter( site_url: Annotated[str, "The URL of the site"], parameter: Annotated[str, "The query parameter to remove"], ) -> Dict[str, str]: """ Remove a URL normalization parameter. Args: site_url: The URL of the site parameter: The query parameter to remove Returns: Success message """ async with api: await api._make_request( "RemoveQueryParameter", "POST", {"siteUrl": site_url, "parameter": parameter}, ) return {"message": f"Query parameter {parameter} removed successfully"}