update_crawl_settings
Adjust website crawl settings in Bing Webmaster Tools to manage how frequently search engines index your site content.
Instructions
Update crawl settings for a site.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes | ||
| crawl_rate | No | Normal |
Implementation Reference
- mcp_server_bwt/main.py:995-1014 (handler)The handler function for the 'update_crawl_settings' tool, which updates the crawl rate settings for a site via the Bing Webmaster API using the SaveCrawlSettings endpoint.@mcp.tool(name="update_crawl_settings", description="Update crawl settings for a site.") async def update_crawl_settings( site_url: Annotated[str, "The URL of the site"], crawl_rate: Annotated[str, "Crawl rate setting"] = "Normal", ) -> Dict[str, str]: """ Update crawl settings for a site. Args: site_url: The URL of the site crawl_rate: Crawl rate setting (Slow, Normal, Fast) Returns: Success message """ async with api: await api._make_request( "SaveCrawlSettings", "POST", {"siteUrl": site_url, "crawlRate": crawl_rate} ) return {"message": f"Crawl settings updated successfully"}
- mcp_server_bwt/main.py:995-995 (registration)The @mcp.tool decorator registers the update_crawl_settings function as an MCP tool.@mcp.tool(name="update_crawl_settings", description="Update crawl settings for a site.")