Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

get_site_moves

Retrieve site migration history from Bing Webmaster Tools to track URL changes and verify successful moves.

Instructions

Get history of site moves/migrations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes

Implementation Reference

  • The handler function for the 'get_site_moves' tool, registered via @mcp.tool decorator. It makes an API request to retrieve site moves history and ensures type field.
    @mcp.tool(name="get_site_moves", description="Get history of site moves/migrations.") async def get_site_moves( site_url: Annotated[str, "The URL of the site"] ) -> List[Dict[str, Any]]: """ Get history of site moves/migrations. Args: site_url: The URL of the site Returns: List of site moves """ async with api: moves = await api._make_request(f"GetSiteMoves?siteUrl={site_url}") return api._ensure_type_field(moves, "SiteMove")
  • Registration of the 'get_site_moves' tool using the @mcp.tool decorator.
    @mcp.tool(name="get_site_moves", description="Get history of site moves/migrations.")
  • Input schema via Annotated type hint for site_url and output type List[Dict[str, Any]].
    async def get_site_moves( site_url: Annotated[str, "The URL of the site"] ) -> List[Dict[str, Any]]:

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