Skip to main content
Glama

GSCPAP - Google Search Console, GA4, Bing Webmaster Tools & PageSpeed MCP

Compare Search Console periods

compare_periods
Read-only

Compare performance between two date ranges.

The two ranges need not be adjacent or the same length, so before and after a change (a Google update, a redesign, a migration) is one call.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "site_url": "<site_url>",
      "current_start": "<current_start>",
      "current_end": "<current_end>",
      "previous_start": "<previous_start>",
      "previous_end": "<previous_end>"
    },
    "name": "compare_periods"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentNoOptional: the user's goal in a few words. No site names or URLs.
site_urlYes
row_limitNo
dimensionsNoOmitted means ["query"]; an explicit empty list [] compares the property-wide totals of the two ranges.
current_endYes
search_typeNoweb
previous_endYes
current_startYes
previous_startYes
dimension_filter_groupsNoOptional, the same filter as in search_analytics_query, applied to both ranges. Compares one section of the site, e.g. a language folder: [{"groupType": "and", "filters": [{"dimension": "page", "operator": "contains", "expression": "/de/"}]}] With dimensions [] that is the folder's before and after totals. A filter on brandedClassification ("NON_BRANDED") compares only non-branded traffic; dimensions ["brandedClassification"] puts branded and non-branded side by side.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / dimension_filter_groups / description
      Previous value: -"Optional, the same filter as in\nsearch_analytics_query, applied to both ranges. Compares one\nsection of the site, e.g. a language folder:\n[{\"groupType\": \"and\", \"filters\": [{\"dimension\": \"page\",\n  \"operator\": \"contains\", \"expression\": \"/de/\"}]}]\nWith dimensions [] that is the folder's before and after totals."New value: +"Optional, the same filter as in\nsearch_analytics_query, applied to both ranges. Compares one\nsection of the site, e.g. a language folder:\n[{\"groupType\": \"and\", \"filters\": [{\"dimension\": \"page\",\n  \"operator\": \"contains\", \"expression\": \"/de/\"}]}]\nWith dimensions [] that is the folder's before and after totals.\nA filter on brandedClassification (\"NON_BRANDED\") compares only\nnon-branded traffic; dimensions [\"brandedClassification\"] puts\nbranded and non-branded side by side."
    • changedInput schema / properties / dimensions / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "enum": [
      -        "query",
      -        "page",
      -        "country",
      -        "device",
      -        "date",
      -        "searchAppearance"
      -      ],
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "enum": [
      +        "query",
      +        "page",
      +        "country",
      +        "device",
      +        "date",
      +        "hour",
      +        "brandedClassification",
      +        "searchAppearance"
      +      ],
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / search_type / enum
      Previous value: -[
      -  "web",
      -  "image",
      -  "video",
      -  "news",
      -  "discover",
      -  "googleNews"
      -]New value: +[
      +  "web",
      +  "webMultimodal",
      +  "image",
      +  "video",
      +  "news",
      +  "discover",
      +  "googleNews"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / dimension_filter_groups
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional, the same filter as in\nsearch_analytics_query, applied to both ranges. Compares one\nsection of the site, e.g. a language folder:\n[{\"groupType\": \"and\", \"filters\": [{\"dimension\": \"page\",\n  \"operator\": \"contains\", \"expression\": \"/de/\"}]}]\nWith dimensions [] that is the folder's before and after totals."
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / intent
      Added value: +{
      +  "description": "Optional: the user's goal in a few words. No site names or URLs.",
      +  "type": "string"
      +}
  4. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already establish a read-only, non-destructive, open-world operation, and the description adds useful behavioral context about flexible range alignment and length. It does not explain how unequal periods are compared, what deltas or metrics are produced, or how results are ordered and limited.

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 front-loaded with the core operation. Its second sentence earns its place by combining an important range constraint with concrete, economical use-case examples.

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?

An agent can identify the basic use case and supply the required range parameters, while the schema documents advanced dimensions and filtering. However, for a ten-parameter tool with no output schema, the omission of date conventions, returned comparison metrics, calculation behavior, and result-limit semantics leaves notable invocation and interpretation gaps.

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 range-flexibility statement adds some meaning to the four required date parameters, but with only 30% schema description coverage the description does little to compensate elsewhere. It leaves date formats and boundary semantics undocumented and adds nothing about site_url, row_limit, search_type, or the intended use of current versus previous beyond the before/after example.

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?

“Compare performance between two date ranges” gives a clear verb and task, with the title identifying Search Console as the resource. The before/after examples clarify the use case, but the description does not explicitly distinguish this tool from sibling comparison or analytics-query tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly recommends the tool for before-and-after analysis of events such as a Google update, redesign, or migration. It also explains that ranges can be nonadjacent and unequal in length, though it provides no when-not guidance or named alternatives.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.