Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

submit_site_move

Notify Bing Webmaster Tools when migrating a website from one domain to another to maintain search visibility and rankings.

Instructions

Submit a site move/migration notification.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
old_site_urlYes
new_site_urlYes
move_typeNoDomain

Implementation Reference

  • The main handler function for the 'submit_site_move' tool. It takes old_site_url, new_site_url, and move_type as inputs and makes a POST request to the Bing Webmaster Tools API's SubmitSiteMove endpoint.
    async def submit_site_move( old_site_url: Annotated[str, "The old site URL"], new_site_url: Annotated[str, "The new site URL"], move_type: Annotated[str, "Type of move (e.g., 'Domain', 'Subdomain')"] = "Domain", ) -> Dict[str, str]: """ Submit a site move/migration notification. Args: old_site_url: The old site URL new_site_url: The new site URL move_type: Type of move (default: Domain) Returns: Success message """ async with api: await api._make_request( "SubmitSiteMove", "POST", { "oldSiteUrl": old_site_url, "newSiteUrl": new_site_url, "moveType": move_type, }, ) return {"message": f"Site move from {old_site_url} to {new_site_url} submitted"}
  • Registration of the 'submit_site_move' tool using the @mcp.tool decorator, specifying the name and description.
    @mcp.tool( name="submit_site_move", description="Submit a site move/migration notification." )
  • Input schema defined by Annotated type hints on the function parameters and return type annotation.
    async def submit_site_move( old_site_url: Annotated[str, "The old site URL"], new_site_url: Annotated[str, "The new site URL"], move_type: Annotated[str, "Type of move (e.g., 'Domain', 'Subdomain')"] = "Domain", ) -> 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