Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

submit_site_move

Notify Bing Webmaster Tools about website domain or URL changes to maintain search visibility during migration.

Instructions

Submit a site move/migration notification.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
old_site_urlYes
new_site_urlYes
move_typeNoDomain

Implementation Reference

  • The asynchronous handler function that implements the core logic of the 'submit_site_move' tool. It uses type annotations for input schema and makes an API request to submit the site move notification.
    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"}
  • The MCP decorator that registers the 'submit_site_move' tool with the given name and description.
    @mcp.tool(
        name="submit_site_move", description="Submit a site move/migration notification."
    )

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