Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

get_crawl_settings

Retrieve crawl configuration for a website to manage how Bing's search engine indexes your content.

Instructions

Get crawl settings for a site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes

Implementation Reference

  • The handler function for the 'get_crawl_settings' tool. It takes a site_url, makes an API request to retrieve crawl settings, ensures the type field, and returns the settings as a dictionary.
    @mcp.tool(name="get_crawl_settings", description="Get crawl settings for a site.") async def get_crawl_settings( site_url: Annotated[str, "The URL of the site"] ) -> Dict[str, Any]: """ Get crawl settings for a site. Args: site_url: The URL of the site Returns: Crawl settings configuration """ async with api: settings = await api._make_request(f"GetCrawlSettings?siteUrl={site_url}") return api._ensure_type_field(settings, "CrawlSettings")
  • Registration of the 'get_crawl_settings' tool using the @mcp.tool decorator, specifying the name and description.
    @mcp.tool(name="get_crawl_settings", description="Get crawl settings for a site.")
  • Input schema defined by the function signature with Annotated type hints providing parameter description and return type.
    async def get_crawl_settings( site_url: Annotated[str, "The URL of the site"] ) -> 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