Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

remove_deep_link_block

Remove deep link blocks from your Bing Webmaster Tools configuration to restore crawling and indexing of specific URL patterns.

Instructions

Remove a deep link block.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
url_patternYes

Implementation Reference

  • The handler function decorated with @mcp.tool, which registers the tool, defines input schema via annotations, and implements the logic by calling the Bing API to remove a deep link block.
    @mcp.tool(name="remove_deep_link_block", description="Remove a deep link block.") async def remove_deep_link_block( site_url: Annotated[str, "The URL of the site"], url_pattern: Annotated[str, "URL pattern to unblock"], ) -> Dict[str, str]: """ Remove a deep link block. Args: site_url: The URL of the site url_pattern: URL pattern to unblock Returns: Success message """ async with api: await api._make_request( "RemoveDeepLinkBlock", "POST", {"siteUrl": site_url, "urlPattern": url_pattern}, ) return {"message": f"Deep link block for {url_pattern} removed successfully"}
  • The @mcp.tool decorator registers the 'remove_deep_link_block' tool with MCP.
    @mcp.tool(name="remove_deep_link_block", description="Remove a deep link block.")
  • Input schema defined by type annotations for site_url (str) and url_pattern (str), output Dict[str, str].
    async def remove_deep_link_block( site_url: Annotated[str, "The URL of the site"], url_pattern: Annotated[str, "URL pattern to unblock"], ) -> 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