Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

remove_country_region_settings

Remove country or region targeting settings from a website in Bing Webmaster Tools to disable geographic content restrictions.

Instructions

Remove country/region targeting settings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
country_codeYes

Implementation Reference

  • Registration of the 'remove_country_region_settings' tool using the @mcp.tool decorator.
    @mcp.tool( name="remove_country_region_settings", description="Remove country/region targeting settings.", )
  • The tool handler function that executes the logic: makes a POST request to the 'RemoveCountryRegionSettings' API endpoint with site URL and country code, and returns a success message.
    async def remove_country_region_settings( site_url: Annotated[str, "The URL of the site"], country_code: Annotated[str, "ISO country code to remove"], ) -> Dict[str, str]: """ Remove country/region targeting settings. Args: site_url: The URL of the site country_code: ISO country code to remove Returns: Success message """ async with api: await api._make_request( "RemoveCountryRegionSettings", "POST", {"siteUrl": site_url, "countryCode": country_code}, ) return {"message": f"Country settings for {country_code} removed successfully"}

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/isiahw1/mcp-server-bing-webmaster'

If you have feedback or need assistance with the MCP directory API, please join our Discord server