Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

remove_site

Remove a website from Bing Webmaster Tools to stop monitoring and managing its search performance data.

Instructions

Remove a site from Bing Webmaster Tools

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes

Implementation Reference

  • The handler function for the 'remove_site' tool. It takes a site_url parameter and uses the api context manager to make a POST request to the 'RemoveSite' endpoint, returning a success message.
    @mcp.tool(name="remove_site", description="Remove a site from Bing Webmaster Tools") async def remove_site( site_url: Annotated[str, "The URL of the site to remove"] ) -> Dict[str, str]: """ Remove a site from Bing Webmaster Tools. Args: site_url: The URL of the site to remove Returns: Success message """ async with api: await api._make_request("RemoveSite", "POST", {"siteUrl": site_url}) return {"message": f"Site {site_url} removed successfully"}
  • The @mcp.tool decorator registers the remove_site function as an MCP tool with the specified name and description.
    @mcp.tool(name="remove_site", description="Remove a site from Bing Webmaster Tools")
  • The function signature defines the input schema (site_url: str) and output type (Dict[str, str]) for the tool.
    async def remove_site( site_url: Annotated[str, "The URL of the site to remove"] ) -> Dict[str, str]:

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