Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

submit_sitemap

Submit a sitemap to Bing Webmaster Tools to notify Bing about your website's structure and content for improved indexing and search visibility.

Instructions

Submit a sitemap to Bing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
sitemap_urlYes

Implementation Reference

  • Handler function for the 'submit_sitemap' MCP tool. It uses the BingWebmasterAPI to POST a sitemap (referred to as 'feed') to the SubmitFeed endpoint, returning a success message.
    @mcp.tool(name="submit_sitemap", description="Submit a sitemap to Bing.") async def submit_sitemap( site_url: Annotated[str, "The URL of the site"], sitemap_url: Annotated[str, "The URL of the sitemap"], ) -> Dict[str, str]: """ Submit a sitemap to Bing. Args: site_url: The URL of the site sitemap_url: The URL of the sitemap Returns: Success message """ async with api: await api._make_request( "SubmitFeed", "POST", {"siteUrl": site_url, "feedUrl": sitemap_url} ) return {"message": f"Sitemap {sitemap_url} submitted successfully"}
  • MCP tool registration decorator that registers the submit_sitemap function with name and description.
    @mcp.tool(name="submit_sitemap", description="Submit a sitemap to 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