Skip to main content
Glama
Search Console MCP

Search Console MCP

Audit how much of a sitemap is indexed

audit_sitemap_indexing
Read-onlyIdempotent

Audit sitemap URLs to measure Google indexing. Inspects a sample and reports indexed counts, exclusion reasons, and affected URLs.

Instructions

Reads the URLs listed in the property's sitemaps, inspects a sample of them and reports how many are indexed, the reasons the others are not, and the affected URLs. This is the closest the API gets to the Page indexing report. Each inspected URL uses one of the 2,000 daily inspections per property, so the sample is small by default.

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

Input Schema

NameRequiredDescriptionDefault
max_urlsNoHow many URLs to inspect. Google takes about six seconds per inspection, so 25 takes around 25 seconds and 50 is the most one call can finish. Call again for a second sample.
samplingNo"random" picks a representative sample; "first" takes the URLs in sitemap order.random
site_urlNoSearch Console property, for example "sc-domain:example.com" or "https://www.example.com/". A bare domain or any page URL on the site also works. Optional when GSC_SITE_URL is set or the account has exactly one property.
sitemap_urlNoA specific sitemap or sitemap index to audit. Defaults to every sitemap submitted in Search Console.
language_codeNoBCP-47 language for Google's issue messages, for example "en-US" (default) or "el".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare the safe-read profile; the description adds the costly details an agent actually needs — each inspected URL burns one of the 2,000 daily inspections per property, and the default sample is deliberately small, so repeated calls are the expected pattern. That quota and sampling behavior is not derivable from annotations or schema defaults.

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 sentences, each carrying distinct load: what it produces, what it maps to, and what it costs. The outcome summary is front-loaded and the quota constraint closes it without padding.

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 read-only audit tool with no output schema and zero required parameters, the description covers return content (indexed counts, reasons, affected URLs) and the operational cost that governs call frequency. Nothing an agent needs to invoke it correctly 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% and the parameter descriptions already cover max_urls limits, sampling modes, site_url fallback, and sitemap_url defaulting, so the description needn't repeat them. It corroborates the sampling constraint ('sample is small by default') but adds no parameter-level meaning beyond the schema.

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 chain (reads sitemap URLs, inspects a sample, reports indexed count, non-index reasons, affected URLs) plus the scope ('the property's sitemaps'), which separates it from single-URL siblings like inspect_url. The framing 'closest the API gets to the Page indexing report' anchors it to a known concept.

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 clear usage context: this is the sitemap-wide indexing audit, closest analogue to the Page indexing report, with a quota-driven warning that the sample is small by default. It never explicitly states when to choose inspect_urls or list_sitemaps instead, so it stops short of full when/when-not routing.

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