Skip to main content
Glama

Google Ads & Meta Ads

Search Console: Submit Sitemap

gsc_submit_sitemap
Idempotent

Submit or resubmit an existing sitemap URL to one Google Search Console property of the user's connected Google login (Search Console's sitemaps.submit). Use it when the user asks to submit a sitemap, or to resubmit one after fixing its errors. The connected login needs Full user or Owner permission on the property. Does not create or edit the sitemap file, does not request indexing of individual URLs, and does not guarantee Google will crawl or index the submitted pages: a success means Google accepted the submission. Check its status later with gsc_list_sitemaps.

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

Input Schema

NameRequiredDescriptionDefault
site_urlNoThe Search Console property: sc-domain:example.com or https://example.com/, as gsc_list_sites lists it. May be omitted when the login reaches exactly one property.
sitemap_urlYesThe sitemap's full URL, such as https://example.com/sitemap.xml. The file must already be live on the site.

Output Schema

NameRequiredDescriptionDefault
siteYesThe Search Console property, as Google spells it.
changedYesTrue only when this call changed Search Console.
isPendingNoTrue while Google has not processed the submission.
operationYesWhat happened: the change made, no_change, or dry_run.
sitemapUrlNoThe sitemap submitted.
resubmittedNoTrue when the sitemap was already submitted before this call.
lastSubmittedNoRFC 3339, as Google reports it after the call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which already declare the write-but-not-destructive, idempotent, open-world profile), the description discloses authorization requirements and, crucially, sets expectations about the limits of success: it does not create or edit the file, does not request indexing, and a success only means Google accepted the submission. That last point prevents a very likely misinterpretation of the result.

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?

The core action and trigger are front-loaded, and each subsequent clause (permissions, negative capabilities, follow-up tool) carries distinct information. Some sentences are long and compound, which slightly slows scanning, but there is no filler.

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 write tool with an output schema, the description covers action, triggers, permission requirements, side-effect boundaries, meaning of success, and the natural next tool. Nothing an agent needs to call it correctly or interpret the outcome 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 coverage is 100%, with site_url's optionality/'as gsc_list_sites lists it' rule and sitemap_url's must-already-be-live constraint documented inline, so the schema does the heavy lifting. The description reinforces the 'existing' and 'one property' constraints but adds no format or syntax detail beyond what the schema already states.

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?

The description names a specific verb pair ('submit or resubmit'), a specific resource ('an existing sitemap URL'), and the exact scope ('one Google Search Console property of the user's connected Google login'), even citing the underlying API method sitemaps.submit. This clearly separates it from gsc_list_sitemaps and gsc_delete_sitemap 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 Guidelines5/5

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

It states explicit triggers ('when the user asks to submit a sitemap, or to resubmit one after fixing its errors') and explicitly routes follow-up status checking to the sibling gsc_list_sitemaps. It also names the prerequisite permission level (Full user or Owner) needed for the call to succeed.

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