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 content structure and improve search engine indexing.

Instructions

Submit a sitemap to Bing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
sitemap_urlYes

Implementation Reference

  • The handler function decorated with @mcp.tool that implements the submit_sitemap tool. It takes site_url and sitemap_url as inputs and uses the BingWebmasterAPI to POST 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"}

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