Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

get_page_query_stats

Retrieve search query statistics for a specific webpage from Bing Webmaster Tools to analyze performance and optimize content.

Instructions

Get query statistics for a specific page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
pageYes

Implementation Reference

  • The @mcp.tool decorator registers the handler function which implements the tool logic by making an API request to retrieve page query statistics.
    @mcp.tool( name="get_page_query_stats", description="Get query statistics for a specific page." ) async def get_page_query_stats( 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")
  • Input schema defined via Annotated types in function parameters, specifying site_url and page as strings with descriptions. Output is List[Dict[str, Any]].
    site_url: Annotated[str, "The URL of the site"], page: Annotated[str, "The specific page URL"], ) -> List[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