Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

get_crawl_issues

Identify and resolve website crawl errors by retrieving issues from Bing Webmaster Tools to improve site indexing and search visibility.

Instructions

Get crawl issues and errors for a site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes

Implementation Reference

  • The handler function for the 'get_crawl_issues' MCP tool. It is registered via the @mcp.tool decorator and implements the tool logic by making an authenticated request to the Bing Webmaster API endpoint 'GetCrawlIssues' and processing the response.
    @mcp.tool( name="get_crawl_issues", description="Get crawl issues and errors for a site." ) async def get_crawl_issues( site_url: Annotated[str, "The URL of the site"] ) -> List[Dict[str, Any]]: """ Get crawl issues and errors for a site. Args: site_url: The URL of the site Returns: List of crawl issues """ async with api: issues = await api._make_request(f"GetCrawlIssues?siteUrl={site_url}") return api._ensure_type_field(issues, "CrawlIssue")
  • The @mcp.tool decorator registers the 'get_crawl_issues' function as an MCP tool with the specified name and description.
    @mcp.tool( name="get_crawl_issues", description="Get crawl issues and errors for a site." )
  • Input schema defined by type hints: site_url (str), output List[Dict[str, Any]]. Uses Annotated for description.
    async def get_crawl_issues( 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