Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

update_crawl_settings

Modify how Bing crawls your website by adjusting crawl frequency settings to control server load and content freshness.

Instructions

Update crawl settings for a site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
crawl_rateNoNormal

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The handler function for the 'update_crawl_settings' tool. It registers the tool using the @mcp.tool decorator and implements the logic to update crawl settings by making a POST request to the Bing Webmaster API's SaveCrawlSettings endpoint with the site URL and crawl rate.
    @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"}
  • Registers the 'update_crawl_settings' tool with the MCP server using the FastMCP decorator.
    @mcp.tool(name="update_crawl_settings", description="Update crawl settings for a site.")
  • Input schema defined using Annotated types for site_url (required string) and crawl_rate (optional string, default 'Normal'). Return type is Dict[str, str].
        site_url: Annotated[str, "The URL of the site"],
        crawl_rate: Annotated[str, "Crawl rate setting"] = "Normal",
    ) -> Dict[str, str]:
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states 'Update' which implies a mutation, but doesn't describe permissions required, whether changes are reversible, rate limits, or what the output contains. This is inadequate for a mutation tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's appropriately sized and front-loaded, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has an output schema (which reduces the need to describe return values) but no annotations and low parameter coverage, the description is incomplete. It covers the basic purpose but lacks critical details for safe and effective use, such as behavioral traits or parameter guidance, making it minimally adequate but with clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the schema provides no parameter details. The description mentions 'crawl settings' but doesn't explain what parameters like 'site_url' or 'crawl_rate' mean, their formats, or valid values (e.g., what 'Normal' entails). It adds minimal semantic value beyond the tool name.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Update') and resource ('crawl settings for a site'), making the purpose immediately understandable. It distinguishes from siblings like 'get_crawl_settings' (read vs. write) and 'add_site' (create vs. update), though it doesn't explicitly mention these distinctions in the text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing an existing site), exclusions, or compare with similar tools like 'add_site' or 'get_crawl_settings', leaving the agent to infer usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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