Skip to main content
Glama
Google Search Console Audit MCP

Google Search Console Audit MCP

gsc_audit

Read-onlyIdempotent

Build a complete, self-contained HTML SEO audit for one property.

Instructions

Build a complete, self-contained HTML SEO audit for one property.

Collects the period and its baseline (previous period or a year earlier), top queries and pages, devices, countries, the daily trend, six complete months of history, brand totals, sitemaps and an indexing check, then detects issues and builds a prioritised strategy and roadmap. Sections that could not be fetched are named, never shown as clean. English and Italian.

Ask the user for the period if they have not named one: the 28-day default is rarely what a client report wants.

Returns a compact JSON summary first (KPIs with deltas, issue counts, top quick wins, roadmap), so the findings can be discussed without reading the HTML, followed by the report path or the document itself.

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>"
    },
    "name": "gsc_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoRolling window length ending today.
outputNo`file` writes the report and returns its path, `inline` returns the HTML as an embedded resource, `both` does both, `auto` picks by transport.auto
periodNoNamed range: last_7_days, last_28_days, last_3_months, last_month, this_month, last_16_months.
compareNoBaseline: `previous` (the equally long period before) or `year` (the same period a year earlier; whole months map to the same months).previous
date_toNoEnd date YYYY-MM-DD. Defaults to today.
languageNoReport language: en, it. Defaults to en.
sectionsNoSubset of sections to render: overview, issues, top_queries, top_pages, countries, sitemaps, indexing, strategy, roadmap, method.
site_urlYes`sc-domain:example.com` for a domain property, or `https://example.com/` with the trailing slash for a URL-prefix property. Call gsc_sites if unsure.
date_fromNoStart date YYYY-MM-DD. Overrides period and days.
output_dirNoWhere to write the report. Defaults to ~/gsc-reports/.
thresholdsNoOverride the adaptive thresholds: min_impressions, min_clicks, high_visibility_impressions, ctr_curve.
brand_termsNoWords that mark a query as branded. Without them the first label of the domain is used, which is often wrong.
branding_pathNoPath to a branding.json overriding colours, logo, name and thresholds.
inspect_top_pagesNoHow many top pages to run through URL Inspection. 0 disables it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv4.0.0
    • addedInput schema / properties / compare
      Added value: +{
      +  "default": "previous",
      +  "description": "Baseline: `previous` (the equally long period before) or `year` (the same period a year earlier; whole months map to the same months).",
      +  "title": "Compare",
      +  "type": "string"
      +}
    • changedInput schema / properties / sections / description
      Previous value: -"Subset of sections to render: overview, issues, top_queries, top_pages, countries, sitemaps, indexing, strategy, roadmap."New value: +"Subset of sections to render: overview, issues, top_queries, top_pages, countries, sitemaps, indexing, strategy, roadmap, method."
  2. Changed17 schema fields changedv3.0.1
    • addedInput schema / properties / brand_terms
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Words that mark a query as branded. Without them the first label of the domain is used, which is often wrong.",
      +  "title": "Brand Terms"
      +}
    • addedInput schema / properties / branding_path / description
      Added value: +"Path to a branding.json overriding colours, logo, name and thresholds."
    • addedInput schema / properties / date_from / default
      Added value: +""
    • addedInput schema / properties / date_from / description
      Added value: +"Start date YYYY-MM-DD. Overrides period and days."
    • addedInput schema / properties / date_to / default
      Added value: +""
    • addedInput schema / properties / date_to / description
      Added value: +"End date YYYY-MM-DD. Defaults to today."
    • addedInput schema / properties / days
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Rolling window length ending today.",
      +  "title": "Days"
      +}
    • addedInput schema / properties / inspect_top_pages
      Added value: +{
      +  "default": 10,
      +  "description": "How many top pages to run through URL Inspection. 0 disables it.",
      +  "title": "Inspect Top Pages",
      +  "type": "integer"
      +}
    • addedInput schema / properties / language
      Added value: +{
      +  "default": "",
      +  "description": "Report language: en, it. Defaults to en.",
      +  "title": "Language",
      +  "type": "string"
      +}
    • addedInput schema / properties / output
      Added value: +{
      +  "default": "auto",
      +  "description": "`file` writes the report and returns its path, `inline` returns the HTML as an embedded resource, `both` does both, `auto` picks by transport.",
      +  "title": "Output",
      +  "type": "string"
      +}
    • addedInput schema / properties / output_dir / description
      Added value: +"Where to write the report. Defaults to ~/gsc-reports/."
    • addedInput schema / properties / period
      Added value: +{
      +  "default": "",
      +  "description": "Named range: last_7_days, last_28_days, last_3_months, last_month, this_month, last_16_months.",
      +  "title": "Period",
      +  "type": "string"
      +}
    • addedInput schema / properties / sections
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Subset of sections to render: overview, issues, top_queries, top_pages, countries, sitemaps, indexing, strategy, roadmap.",
      +  "title": "Sections"
      +}
    • addedInput schema / properties / site_url / description
      Added value: +"`sc-domain:example.com` for a domain property, or `https://example.com/` with the trailing slash for a URL-prefix property. Call gsc_sites if unsure."
    • addedInput schema / properties / thresholds
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Override the adaptive thresholds: min_impressions, min_clicks, high_visibility_impressions, ctr_curve.",
      +  "title": "Thresholds"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "site_url",
      -  "date_from",
      -  "date_to"
      -]New value: +[
      +  "site_url"
      +]
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "gsc_auditOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv2.0.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and non-destructive, so the safety profile is covered; the description adds value by disclosing partial-failure semantics ('Sections that could not be fetched are named, never shown as clean') and the return order (compact JSON summary first, then path or document). That is exactly the kind of context annotations cannot carry. It stops short of mentioning operational limits such as URL Inspection quota consumed by inspect_top_pages or how long a 16-month pull takes.

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?

Front-loaded with the outcome, then the data inventory, then the caveat and interaction rule, then the return contract. Every sentence carries distinct information and the section enumeration is scoped to what the audit actually assembles rather than padding.

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

Completeness4/5

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

For a 14-parameter tool with no output schema, the description covers the return shape, the failure mode, language support and the one interaction the agent must handle. What is missing is smaller but real: no mention that output modes are transport-dependent beyond the schema text, no cost warning for URL Inspection, and no note on what the JSON summary contains beyond a parenthetical list.

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?

Schema description coverage is 100%, so the baseline is 3, and the description earns an increment by advising on period selection and warning about the implicit default window. The brand_terms pitfall ('the first label of the domain ... is often wrong') lives in the schema rather than the description, and threshold and sections semantics are left entirely to structured fields.

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 first sentence names a specific verb and artifact: 'Build a complete, self-contained HTML SEO audit for one property.' The body enumerates exactly what is collected (period plus baseline, queries, pages, devices, countries, trends, sitemaps, indexing) and that it ends in a prioritised strategy and roadmap, which separates it from single-metric siblings. It never names an alternative tool, so differentiation from gsc_doctor or gsc_performance_overview is left to inference.

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

Usage Guidelines3/5

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

There is real guidance on one decision point: 'Ask the user for the period if they have not named one: the 28-day default is rarely what a client report wants,' which is a usable interaction rule. There is no statement of when to choose this comprehensive audit over the narrower sibling analyses, nor any prerequisite about GSC access or expected runtime.

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