Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

get_crawl_stats

Retrieve crawl statistics for a specific website from Bing Webmaster Tools to monitor search engine indexing performance.

Instructions

Retrieve crawl statistics for a specific site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The @mcp.tool decorator registers the get_crawl_stats tool with MCP, providing name and description. The function signature below defines the input/output schema.
    @mcp.tool(
        name="get_crawl_stats", description="Retrieve crawl statistics for a specific site."
    )
  • The function signature provides the input schema (site_url: Annotated[str, ...]) and output type (List[Dict[str, Any]]), used by MCP for tool schema validation.
    async def get_crawl_stats(
        site_url: Annotated[str, "The URL of the site"]
    ) -> List[Dict[str, Any]]:
  • The main handler function that implements the tool logic: acquires an API context, makes a request to Bing's GetCrawlStats endpoint with the site_url, ensures the response has the correct type field, and returns the statistics.
    async def get_crawl_stats(
        site_url: Annotated[str, "The URL of the site"]
    ) -> List[Dict[str, Any]]:
        """
        Retrieve crawl statistics for a specific site.
    
        Args:
            site_url: The URL of the site
    
        Returns:
            List of daily crawl statistics
        """
        async with api:
            stats = await api._make_request(f"GetCrawlStats?siteUrl={site_url}")
            return api._ensure_type_field(stats, "CrawlStats")
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the action ('Retrieve') but doesn't mention whether this is a read-only operation, if it requires authentication, rate limits, error conditions, or what the output contains. For a tool with no annotations, this is a significant gap in transparency.

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 with zero waste. It's appropriately sized and front-loaded, clearly stating the core purpose without unnecessary elaboration.

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 handles return values), no annotations, and a simple parameter set, the description is minimally complete. However, for a tool with no annotations and low schema coverage, it should provide more context on behavior and parameters to be fully helpful.

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?

The input schema has 1 parameter with 0% description coverage, so the schema provides no semantic information. The description mentions 'for a specific site' but doesn't clarify what 'site_url' should be (e.g., format, domain requirements, or examples). It adds minimal value beyond the schema's structural definition.

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 verb ('Retrieve') and resource ('crawl statistics for a specific site'), making the purpose understandable. However, it doesn't distinguish this tool from sibling tools like 'get_crawl_settings' or 'get_crawl_issues', which also retrieve crawl-related data, so it lacks sibling differentiation.

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?

The description provides no guidance on when to use this tool versus alternatives. With many sibling tools like 'get_crawl_settings' or 'get_crawl_issues', there's no indication of context, prerequisites, or exclusions for selecting this specific tool.

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