Skip to main content
Glama
Google Search Console (GSC) MCP

Google Search Console (GSC) MCP

Submit a sitemap

gsc_submit_sitemap
Idempotent

Register a sitemap with Google Search Console and ping Google to crawl it. Use it to submit new sitemaps or re-submit existing ones to refresh them.

Instructions

Submit (or re-submit) a sitemap to Google Search Console for a property. This is a WRITE action: it registers the sitemap and pings Google to crawl it. Requires the full webmasters OAuth scope — if the saved credential is read-only, re-run the OAuth flow from the README requesting the full scope. Idempotent: re-submitting the same sitemap URL just refreshes it.

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

Input Schema

NameRequiredDescriptionDefault
feedpathYesFull URL of the sitemap to submit, e.g. https://example.com/sitemap.xml. Must be within the property.
site_urlYesThe Search Console property. Use the exact form shown by gsc_list_sites: a Domain property is 'sc-domain:example.com'; a URL-prefix property is the full origin with a trailing slash, e.g. 'https://example.com/'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the supplied annotations by spelling out that this is a WRITE action that registers the sitemap and pings Google to crawl it, and that a read-only credential will fail with the specific fix. It also explains the idempotency semantics ('re-submitting the same sitemap URL just refreshes it'), which adds real meaning to idempotentHint=true rather than restating it.

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?

Three short sentences, front-loaded with the action and immediately followed by the write semantics and auth caveat before the idempotency note. Every sentence carries distinct information with no repetition of the title or schema.

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 two-parameter mutation tool with no output schema, the description covers action, side effect (pings Google to crawl), auth prerequisite and remediation, and repeat-call behavior. Nothing an agent needs in order to invoke it safely is missing.

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 description coverage is 100%, and the schema already explains both feedpath (full sitemap URL, must be within the property) and site_url (exact form from gsc_list_sites, sc-domain vs URL-prefix). The description adds no parameter detail beyond the word 'sitemap URL', so the baseline 3 applies.

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 specific verb and resource ('Submit (or re-submit) a sitemap to Google Search Console for a property') and the parenthetical addition of re-submission covers the idempotent case. The verb alone separates it cleanly from gsc_delete_sitemap and gsc_list_sitemaps without opening either schema.

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?

Gives concrete operational guidance: it names the credential prerequisite (full webmasters OAuth scope) and the remedy when the saved credential is read-only (re-run the OAuth flow from the README). It does not explicitly contrast itself against siblings such as gsc_delete_sitemap, but the write-action framing makes the use context unambiguous.

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