Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

remove_deep_link_block

Remove deep link blocks from Bing Webmaster Tools to allow search engines to crawl and index specific URL patterns on your website.

Instructions

Remove a deep link block.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
url_patternYes

Implementation Reference

  • The handler function for the 'remove_deep_link_block' tool, decorated with @mcp.tool for registration. It takes site_url and url_pattern, makes a POST request to 'RemoveDeepLinkBlock' API, and returns a success message.
    @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 its name and description.
    @mcp.tool(name="remove_deep_link_block", description="Remove a deep link block.")
  • Input schema defined by Annotated types 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