Skip to main content
Glama

Google Ads & Meta Ads

Search Console: List Sitemaps

gsc_list_sitemaps
Read-onlyIdempotent

List the sitemaps submitted for one Search Console property of the user's connected Google login, with each one's type, whether it is a sitemap index, when it was submitted and last downloaded by Google, whether processing is still pending, the error and warning counts Google reported, and per content type (web, image, video, news) how many URLs were submitted. Pass sitemap_url to read one sitemap alone. Typical uses: is the sitemap being fetched, did the last deploy break it, how many URLs does Google see in it. Read-only: it never submits or deletes a sitemap.

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": "gsc_list_sitemaps"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_urlNoThe Search Console property: sc-domain:example.com (a domain property) or https://example.com/ (a URL-prefix property), as gsc_list_sites lists it. A bare domain is matched against both forms. May be omitted when the connected login reaches exactly one property.
sitemap_urlNoOne sitemap's full URL (the path gsc_list_sitemaps reports) to fetch alone, with its per-content-type counts. Omit to list every submitted sitemap.

Output Schema

NameRequiredDescriptionDefault
siteYesThe property read.
pendingYesSitemaps Google has not finished processing.
sitemapsYesOne entry per sitemap.
withErrorsYesSitemaps Google reported errors on.
sitemapCountYesSitemaps in `sitemaps`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, so the safety profile is covered; the description reinforces it and adds substantive behavior detail — which fields come back (type, index flag, submitted/lastDownloaded, pending, error/warning counts, per-content-type URL counts) and that sitemap_url switches to single-sitemap mode. It does not mention pagination or limits on a large sitemap list.

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?

Purpose is front-loaded and the later sentences are short and purposeful. The opening sentence is a long enumeration of return fields that partly duplicates the output schema, which costs some tightness but remains scannable.

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-optional-parameter read tool with an output schema and full annotation coverage, nothing needed to call it correctly is missing: property identification, single-sitemap mode, safety profile, and use cases are all present.

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%, so both parameters are already fully documented, including the sc-domain vs. URL-prefix forms and the single-property omission rule. The description adds only the sitemap_url fetch-alone mode, which the schema also states, so it stays at the baseline.

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 (list) and resource (sitemaps) scoped to one Search Console property, and enumerates exactly what each entry contains. It also distinguishes the two modes (list all vs. read one via sitemap_url) and contrasts itself with the write siblings by declaring it never submits or deletes a sitemap.

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 use cases ('is the sitemap being fetched, did the last deploy break it, how many URLs does Google see') and states the read-only boundary, which implicitly routes mutation intent to submit/delete tools. It does not name those sibling tools explicitly, so the exclusion is implied rather than enumerated.

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