Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

remove_blocked_url

Remove URLs from Bing Webmaster Tools' blocked list to restore search engine indexing for specific web pages.

Instructions

Remove a URL from the blocked list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
urlYes

Implementation Reference

  • The handler function for the 'remove_blocked_url' tool. It uses type annotations for input schema (site_url and url parameters) and the @mcp.tool decorator for registration. The logic sends a POST request to the 'RemoveBlockedUrl' API endpoint via the api object.
    @mcp.tool(name="remove_blocked_url", description="Remove a URL from the blocked list.")
    async def remove_blocked_url(
        site_url: Annotated[str, "The URL of the site"],
        url: Annotated[str, "The blocked URL to remove"],
    ) -> Dict[str, str]:
        """
        Remove a URL from the blocked list.
    
        Args:
            site_url: The URL of the site
            url: The blocked URL to remove
    
        Returns:
            Success message
        """
        async with api:
            await api._make_request(
                "RemoveBlockedUrl", "POST", {"siteUrl": site_url, "blockedUrl": url}
            )
            return {"message": f"URL {url} unblocked successfully"}

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