Skip to main content
Glama

SEO GSC Wizard MCP

Cross-site performance summary

get_cross_site_summary
Read-only

Use this when the user asks how all their properties are doing, or which gained or lost most. Aggregates a last-N-days clicks/impressions summary across the account's registered Search Console properties (optionally filtered to those carrying a given tag), with a same-length prior period for comparison and per-site totals. Without a tag it also covers properties shared with the account (marked shared: true; tags are the caller's own, so a tag filter covers owned properties only). The MCP equivalent of the app's Global Reports page. Set includeSearchTypes to also split every property across web / image / video / news / discover, and includeCountries for a country leaderboard aggregated over the whole portfolio; their ctr and clickShare are 0-100. perSite and countries are sorted by clicks, descending. Each site routes independently to the ClickHouse warehouse or the live Search Console API, so dataSource is reported per site; a site whose read fails, or a share that no longer grants access, is reported in errors with a reason rather than failing the whole call, and the totals then cover only sitesIncluded properties, which warning says. Not for one property: use get_site_summary; for a tag's daily trend and top queries and pages use get_tag_group_view. Processes at most maxSites properties per call (default and maximum 100; scope.truncated says when more matched, so narrow by tag). The rate-limit cost scales with the number of properties and the breakdowns requested.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_cross_site_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
daysNo
maxSitesNoHow many properties to process, at most 100 (the default). When more match, `scope.truncated` is true; filter by `tag` to cover the rest.
searchTypeNoSearch type of the headline totals and the per-site comparison; `all` sums web, image, video, news and discover, like the app's "All" filter.web
countryLimitNoHow many countries to return when includeCountries is set.
includeCountriesNoAlso return a country leaderboard aggregated across every property, with the number of properties contributing to each country. Costs one extra read per property.
includeSearchTypesNoAlso break every property down by search type (web, image, video, news, discover) for the current period. Costs five extra reads per property.

Output Schema

NameRequiredDescriptionDefault
rangeNo
scopeNo
deltasNo
errorsNo
thenByNo
currentNo
listKeyNoName of the top-level field that holds the rows sortedBy describes.
perSiteNo
warningNoPresent only when the totals do not cover every property.
nextStepNo
orderingNo
previousNo
sortedByNo
countriesNo
sortOrderNo
thenOrderNo
comparisonNo
searchTypesNo
sitesFailedNoProperties left out of the totals, each named in errors.
countryTotalNo
emptyBecauseNo
methodLimitsNo
sitesIncludedNoProperties whose numbers are in the totals.
sharedLookupFailedNo
sharedLookupPartialNoSome properties shared with the caller could not be listed: the ones that could are in the totals, the rest are missing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / properties / errors / items / properties / shared / $ref
      Previous value: -"#/properties/scope/anyOf/0/properties/truncated"New value: +"#/properties/sharedLookupFailed"
    • changedOutput schema / properties / perSite / items / properties / shared / $ref
      Previous value: -"#/properties/scope/anyOf/0/properties/truncated"New value: +"#/properties/sharedLookupFailed"
    • changedOutput schema / properties / scope / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "days": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "searchType": {
      -        "$ref": "#/properties/scope/anyOf/0/properties/tag"
      -      },
      -      "sharedCount": {
      -        "$ref": "#/properties/scope/anyOf/0/properties/days"
      -      },
      -      "siteCount": {
      -        "$ref": "#/properties/scope/anyOf/0/properties/days"
      -      },
      -      "tag": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "truncated": {
      -        "type": [
      -          "boolean",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "days": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "inactiveShareCount": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/days",
      +        "description": "Shares left out because their owner lapsed. They are not read and not counted in siteCount or matchedCount, but each is in errors (reason share_inactive) and in sitesFailed, so sitesIncluded + sitesFailed = siteCount + inactiveShareCount."
      +      },
      +      "matchedCount": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/days",
      +        "description": "Properties that matched before the cap (owned and shared, readable now). matchedCount = siteCount + skippedCount."
      +      },
      +      "maxSites": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/days",
      +        "description": "The cap on properties read per call."
      +      },
      +      "searchType": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/tag"
      +      },
      +      "sharedCount": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/days",
      +        "description": "How many of the properties read are shared with the caller."
      +      },
      +      "siteCount": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/days",
      +        "description": "Properties read in this call (never more than maxSites)."
      +      },
      +      "skippedCount": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/days",
      +        "description": "Matched properties not read because of maxSites; 0 unless truncated."
      +      },
      +      "tag": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "truncated": {
      +        "description": "True when more properties matched than maxSites, so some were not read.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed1 schema field changed
    • addedOutput schema / properties / listKey
      Added value: +{
      +  "$ref": "#/properties/scope/anyOf/0/properties/tag",
      +  "description": "Name of the top-level field that holds the rows sortedBy describes."
      +}
  3. Changed2 schema fields changed
    • changedInput schema / properties / searchType / description
      Previous value: -"Search type of the headline totals and the per-site comparison."New value: +"Search type of the headline totals and the per-site comparison; `all` sums web, image, video, news and discover, like the app's \"All\" filter."
    • changedInput schema / properties / searchType / enum
      Previous value: -[
      -  "web",
      -  "image",
      -  "video",
      -  "news",
      -  "discover"
      -]New value: +[
      +  "web",
      +  "image",
      +  "video",
      +  "news",
      +  "discover",
      +  "all"
      +]
  4. Changed26 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • changedOutput schema / properties / countries / items / additionalProperties
      Previous value: -falseNew value: +true
    • changedOutput schema / properties / current / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "clicks": {
      -        "$ref": "#/properties/scope/anyOf/0/properties/days"
      -      },
      -      "impressions": {
      -        "$ref": "#/properties/scope/anyOf/0/properties/days"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "clicks": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/days"
      +      },
      +      "impressions": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/days"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / deltas / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "clicks": {
      -        "$ref": "#/properties/scope/anyOf/0/properties/days"
      -      },
      -      "impressions": {
      -        "$ref": "#/properties/scope/anyOf/0/properties/days"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "clicks": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/days"
      +      },
      +      "impressions": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/days"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / emptyBecause
      Added value: +{
      +  "$ref": "#/properties/scope/anyOf/0/properties/tag"
      +}
    • changedOutput schema / properties / errors / items / additionalProperties
      Previous value: -falseNew value: +true
    • addedOutput schema / properties / errors / items / properties / code
      Added value: +{
      +  "$ref": "#/properties/scope/anyOf/0/properties/tag",
      +  "description": "The error code the read failed with, as runTool would answer it."
      +}
    • addedOutput schema / properties / errors / items / properties / reason
      Added value: +{
      +  "$ref": "#/properties/scope/anyOf/0/properties/tag",
      +  "description": "The refusal reason; 'share_inactive' for a share that no longer grants access, else 'read_failed'."
      +}
    • addedOutput schema / properties / errors / items / properties / shared
      Added value: +{
      +  "$ref": "#/properties/scope/anyOf/0/properties/truncated"
      +}
    • addedOutput schema / properties / methodLimits
      Added value: +{
      +  "$ref": "#/properties/scope/anyOf/0/properties/tag"
      +}
    • addedOutput schema / properties / nextStep
      Added value: +{
      +  "$ref": "#/properties/scope/anyOf/0/properties/tag"
      +}
    • addedOutput schema / properties / ordering
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "sortOrder": {
      +            "$ref": "#/properties/scope/anyOf/0/properties/tag"
      +          },
      +          "sortedBy": {
      +            "$ref": "#/properties/scope/anyOf/0/properties/tag"
      +          },
      +          "thenBy": {
      +            "$ref": "#/properties/scope/anyOf/0/properties/tag"
      +          },
      +          "thenOrder": {
      +            "$ref": "#/properties/scope/anyOf/0/properties/tag"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / perSite / items / additionalProperties
      Previous value: -falseNew value: +true
    • changedOutput schema / properties / previous / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "clicks": {
      -        "$ref": "#/properties/scope/anyOf/0/properties/days"
      -      },
      -      "impressions": {
      -        "$ref": "#/properties/scope/anyOf/0/properties/days"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "clicks": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/days"
      +      },
      +      "impressions": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/days"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / range / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "days": {
      -        "$ref": "#/properties/scope/anyOf/0/properties/days"
      -      },
      -      "endDate": {
      -        "$ref": "#/properties/scope/anyOf/0/properties/tag"
      -      },
      -      "startDate": {
      -        "$ref": "#/properties/scope/anyOf/0/properties/tag"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "days": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/days"
      +      },
      +      "endDate": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/tag"
      +      },
      +      "startDate": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/tag"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / scope / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "days": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "searchType": {
      -        "$ref": "#/properties/scope/anyOf/0/properties/tag"
      -      },
      -      "sharedCount": {
      -        "$ref": "#/properties/scope/anyOf/0/properties/days"
      -      },
      -      "siteCount": {
      -        "$ref": "#/properties/scope/anyOf/0/properties/days"
      -      },
      -      "tag": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "truncated": {
      -        "type": [
      -          "boolean",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "days": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "searchType": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/tag"
      +      },
      +      "sharedCount": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/days"
      +      },
      +      "siteCount": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/days"
      +      },
      +      "tag": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "truncated": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / searchTypes / items / additionalProperties
      Previous value: -falseNew value: +true
    • addedOutput schema / properties / sharedLookupFailed
      Added value: +{
      +  "$ref": "#/properties/scope/anyOf/0/properties/truncated"
      +}
    • addedOutput schema / properties / sharedLookupPartial
      Added value: +{
      +  "$ref": "#/properties/scope/anyOf/0/properties/truncated",
      +  "description": "Some properties shared with the caller could not be listed: the ones that could are in the totals, the rest are missing."
      +}
    • addedOutput schema / properties / sitesFailed
      Added value: +{
      +  "$ref": "#/properties/scope/anyOf/0/properties/days",
      +  "description": "Properties left out of the totals, each named in errors."
      +}
    • addedOutput schema / properties / sitesIncluded
      Added value: +{
      +  "$ref": "#/properties/scope/anyOf/0/properties/days",
      +  "description": "Properties whose numbers are in the totals."
      +}
    • addedOutput schema / properties / sortOrder
      Added value: +{
      +  "$ref": "#/properties/scope/anyOf/0/properties/tag"
      +}
    • addedOutput schema / properties / sortedBy
      Added value: +{
      +  "$ref": "#/properties/scope/anyOf/0/properties/tag"
      +}
    • addedOutput schema / properties / thenBy
      Added value: +{
      +  "$ref": "#/properties/scope/anyOf/0/properties/tag"
      +}
    • addedOutput schema / properties / thenOrder
      Added value: +{
      +  "$ref": "#/properties/scope/anyOf/0/properties/tag"
      +}
    • addedOutput schema / properties / warning
      Added value: +{
      +  "$ref": "#/properties/scope/anyOf/0/properties/tag",
      +  "description": "Present only when the totals do not cover every property."
      +}
  5. Changed2 schema fields changed
    • addedOutput schema / properties / perSite / items / properties / shared
      Added value: +{
      +  "$ref": "#/properties/scope/anyOf/0/properties/truncated"
      +}
    • changedOutput schema / properties / scope / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "days": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "searchType": {
      -        "$ref": "#/properties/scope/anyOf/0/properties/tag"
      -      },
      -      "siteCount": {
      -        "$ref": "#/properties/scope/anyOf/0/properties/days"
      -      },
      -      "tag": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "truncated": {
      -        "type": [
      -          "boolean",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "days": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "searchType": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/tag"
      +      },
      +      "sharedCount": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/days"
      +      },
      +      "siteCount": {
      +        "$ref": "#/properties/scope/anyOf/0/properties/days"
      +      },
      +      "tag": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "truncated": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  6. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, but the description adds far more: tag filters cover owned properties only while untagged reads include shared ones (marked `shared: true`), per-site dataSource routing between ClickHouse and the live API, and partial-failure semantics where failed sites land in `errors` with a `reason` and totals shrink to `sitesIncluded` with a `warning`. It also discloses rate-limit scaling and the maxSites processing cap with `scope.truncated`. Nothing contradicts the read-only annotation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Use case and alternatives are front-loaded, and the dense sentences each carry distinct facts (scope, comparison period, failure handling, cost). It is a single very long paragraph, though, and a few clauses such as "their ctr and clickShare are 0-100" are terse enough to slow comprehension; light structural separation would help.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter portfolio aggregation with optional breakdowns, partial failures, and cost implications, the description covers everything an agent needs to invoke it correctly. An output schema exists, yet the description still clarifies the meaningful parts of the result shape (per-site dataSource, errors/reason, warning, sitesIncluded, scope.truncated) that shape interpretation rather than just existence.

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

Parameters4/5

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

With 71% schema coverage the schema carries much of the load, but the description adds cross-parameter meaning the schema cannot: that the tag filter implies owned-only scope, that includeSearchTypes costs five extra reads per property, that includeCountries builds a whole-portfolio leaderboard whose ctr and clickShare are 0-100, and that maxSites truncation is signaled by `scope.truncated`. The `days` window and `searchType` interaction with headline totals are only implied rather than spelled out, keeping it below a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb (aggregates) plus the resource and scope: clicks/impressions across the account's registered Search Console properties, with a prior comparison period and per-site totals. It explicitly contrasts with get_site_summary (one property) and get_tag_group_view (a tag's daily trend/queries/pages), so the agent can distinguish it from siblings without opening a schema.

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

Usage Guidelines5/5

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

Opens with the trigger condition ("when the user asks how all their properties are doing, or which gained or lost most") and then names two alternatives with the exact conditions that select them ("Not for one property: use get_site_summary"). It also advises narrowing by `tag` when the site cap is hit, which is actionable routing guidance.

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.

Resources