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

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")

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