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
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes |
Implementation Reference
- mcp_server_bwt/main.py:280-298 (handler)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")
- mcp_server_bwt/main.py:280-282 (registration)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." )
- mcp_server_bwt/main.py:283-285 (schema)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]]: