Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

remove_sitemap

Remove a sitemap from Bing Webmaster Tools to manage your site's search engine indexing by specifying the site and sitemap URLs.

Instructions

Remove a sitemap from Bing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
sitemap_urlYes

Implementation Reference

  • The complete handler function for the 'remove_sitemap' tool, including the @mcp.tool decorator which registers it. It removes a sitemap by calling the Bing Webmaster API's RemoveFeed endpoint with the provided site_url and sitemap_url.
    @mcp.tool(name="remove_sitemap", description="Remove a sitemap from Bing.") async def remove_sitemap( site_url: Annotated[str, "The URL of the site"], sitemap_url: Annotated[str, "The URL of the sitemap to remove"], ) -> Dict[str, str]: """ Remove a sitemap from Bing. Args: site_url: The URL of the site sitemap_url: The URL of the sitemap to remove Returns: Success message """ async with api: await api._make_request( "RemoveFeed", "POST", {"siteUrl": site_url, "feedUrl": sitemap_url} ) return {"message": f"Sitemap {sitemap_url} 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