Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

get_deep_link_blocks

Retrieve blocked deep links for a website from Bing Webmaster Tools to identify and manage URL restrictions affecting search visibility.

Instructions

Get list of blocked deep links.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes

Implementation Reference

  • The handler function for the 'get_deep_link_blocks' tool. It is decorated with @mcp.tool which also serves as registration. Takes site_url, makes an API request to retrieve blocked deep links, and returns the processed list.
    @mcp.tool(name="get_deep_link_blocks", description="Get list of blocked deep links.") async def get_deep_link_blocks( site_url: Annotated[str, "The URL of the site"] ) -> List[Dict[str, Any]]: """ Get list of blocked deep links. Args: site_url: The URL of the site Returns: List of blocked deep links """ async with api: blocks = await api._make_request(f"GetDeepLinkBlocks?siteUrl={site_url}") return api._ensure_type_field(blocks, "DeepLinkBlock")
  • The @mcp.tool decorator registers the 'get_deep_link_blocks' tool with the MCP server, specifying its name and description.
    @mcp.tool(name="get_deep_link_blocks", description="Get list of blocked deep links.")
  • Input schema defined by function parameter with Annotated type hint providing description. Output schema is List[Dict[str, Any]].
    async def get_deep_link_blocks( 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