Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

get_page_query_stats

Retrieve search query statistics for a specific webpage to analyze performance and optimize content.

Instructions

Get query statistics for a specific page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
pageYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • Registration of the 'get_page_query_stats' tool using the @mcp.tool decorator, specifying name and description.
        name="get_page_query_stats", description="Get query statistics for a specific page."
    )
    async def get_page_query_stats(
  • The main handler function that executes the tool logic by making an API request to retrieve query statistics for a specific page and ensuring the response type.
        site_url: Annotated[str, "The URL of the site"],
        page: Annotated[str, "The specific page URL"],
    ) -> List[Dict[str, Any]]:
        """
        Get query statistics for a specific page.
    
        Args:
            site_url: The URL of the site
            page: The specific page URL
    
        Returns:
            List of query statistics for the page
        """
        async with api:
            stats = await api._make_request(
                f"GetPageQueryStats?siteUrl={site_url}&page={page}"
            )
            return api._ensure_type_field(stats, "PageQueryStats")
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. While 'Get' implies a read-only operation, the description doesn't address critical behavioral aspects like authentication requirements, rate limits, error conditions, response format, or whether this is a real-time or cached data source. For a tool with zero annotation coverage, this is insufficient.

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 gets straight to the point with zero wasted words. It's appropriately sized for a simple retrieval tool and is perfectly front-loaded.

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 that there's an output schema (which handles return values), the description's main gaps are in parameter semantics and behavioral context. For a 2-parameter read operation with output schema, the description is minimally adequate but leaves important questions unanswered about parameter usage and operational constraints that aren't covered by structured fields.

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%, meaning neither parameter has any documentation in the schema. The description mentions 'for a specific page' which hints at the 'page' parameter, but provides no clarification about what 'site_url' represents or the expected format/scope of either parameter. The description adds minimal value beyond the bare parameter names.

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 ('Get query statistics') and the target resource ('for a specific page'), providing a specific verb+resource combination. However, it doesn't distinguish this tool from similar siblings like 'get_query_stats' or 'get_query_page_stats', which likely have overlapping functionality.

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 multiple sibling tools dealing with query statistics (e.g., 'get_query_stats', 'get_query_page_stats', 'get_query_page_detail_stats'), there's no indication of what makes this tool unique or when it should be preferred over others.

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