Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

remove_sitemap

Remove a sitemap from Bing Webmaster Tools by specifying the site URL and sitemap URL to manage search engine indexing.

Instructions

Remove a sitemap from Bing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
sitemap_urlYes

Implementation Reference

  • The handler function decorated with @mcp.tool(name="remove_sitemap"), which registers the tool and implements the logic to remove a sitemap by calling the Bing Webmaster API's RemoveFeed endpoint.
    @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"}
  • The @mcp.tool decorator registers the remove_sitemap tool with the MCP server.
    @mcp.tool(name="remove_sitemap", description="Remove a sitemap from Bing.")

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