Skip to main content
Glama
zizzfizzix

Bing Webmaster Tools MCP Server

by zizzfizzix

get_query_page_stats

Retrieve detailed traffic statistics for pages matching a specific search query. Use this to analyze page performance for a given query.

Instructions

Get detailed traffic statistics for pages matching a specific query.

Args: site_url: The URL of the site query: The search query to get statistics for

Returns: List[QueryStats]: List of page statistics for the query

Raises: BingWebmasterError: If statistics cannot be retrieved

Returns at most limit rows (default 50, max 500). When the result reports a next_offset, call again with offset=next_offset to get more rows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of rows to return.
queryYes
offsetNoIndex of the first row.
site_urlYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.0
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 50,
      +  "description": "Maximum number of rows to return.",
      +  "maximum": 500,
      +  "minimum": 1,
      +  "title": "Limit",
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Index of the first row.",
      +  "minimum": 0,
      +  "title": "Offset",
      +  "type": "integer"
      +}
    • removedInput schema / properties / self
      Removed value: -{
      -  "title": "self",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "self",
      -  "site_url",
      -  "query"
      -]New value: +[
      +  "site_url",
      +  "query"
      +]
  2. Changed1 schema field changedv1.0.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "QueryStats": {
      +      "properties": {
      +        "AvgClickPosition": {
      +          "title": "Avgclickposition",
      +          "type": "integer"
      +        },
      +        "AvgImpressionPosition": {
      +          "title": "Avgimpressionposition",
      +          "type": "integer"
      +        },
      +        "Clicks": {
      +          "title": "Clicks",
      +          "type": "integer"
      +        },
      +        "Date": {
      +          "format": "date-time",
      +          "title": "Date",
      +          "type": "string"
      +        },
      +        "Impressions": {
      +          "title": "Impressions",
      +          "type": "integer"
      +        },
      +        "Query": {
      +          "title": "Query",
      +          "type": "string"
      +        },
      +        "__type": {
      +          "title": "Type",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "__type",
      +        "AvgClickPosition",
      +        "AvgImpressionPosition",
      +        "Clicks",
      +        "Date",
      +        "Impressions",
      +        "Query"
      +      ],
      +      "title": "QueryStats",
      +      "type": "object"
      +    }
      +  },
      +  "properties": {
      +    "result": {
      +      "items": {
      +        "$ref": "#/$defs/QueryStats"
      +      },
      +      "title": "Result",
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "result"
      +  ],
      +  "title": "get_query_page_statsOutput",
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses the return type (List[QueryStats]), the raised exception (BingWebmasterError), row limits (default 50, max 500), and pagination via next_offset/offset. It does not state explicit read-only semantics or define 'detailed traffic statistics,' but key operational behaviors are well covered.

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 compact and well-structured: a one-line summary followed by Args/Returns/Raises sections and a concise pagination note. Every sentence contributes useful information, with no redundancy or fluff.

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?

Invocation details such as parameters, return type, error behavior, and pagination are reasonably complete, and an output schema likely covers the return structure. However, the dense cluster of sibling tools and absence of selection guidance leaves the agent at risk of confusing this tool with similar ones, especially with no annotations to fill the gap.

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

Parameters3/5

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

Schema coverage is 50%, with site_url and query lacking schema descriptions. The description adds short glosses ('The URL of the site', 'The search query to get statistics for'), but these are largely obvious from the parameter names and add limited semantic detail. Optional limit and offset are already described in the schema.

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 and resource: 'Get detailed traffic statistics for pages matching a specific query.' This distinguishes it as a page-level stats tool for a query, but it does not explicitly differentiate it from close siblings like get_query_page_detail_stats or get_page_query_stats, so it misses the full 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?

No guidance is given on when to use this tool versus the many similar siblings (get_query_stats, get_query_traffic_stats, get_page_stats, get_query_page_detail_stats). The description only provides pagination instructions, not selection criteria or alternatives, so an agent has no help choosing among overlapping tools.

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