Skip to main content
Glama
Google Search Console MCP Server

Google Search Console MCP Server

Remove a sitemap

delete_sitemap
DestructiveIdempotent

Removes a sitemap from Search Console tracking without deleting the file or removing already-indexed URLs.

Instructions

Removes a sitemap from Search Console. This only stops Search Console tracking it; the file on the website is untouched and already-indexed URLs stay indexed. Requires write access. Confirm with the user before calling.

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": {
      "sitemapUrl": "<sitemapUrl>"
    },
    "name": "delete_sitemap"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoSearch Console property, e.g. "sc-domain:example.com", "https://www.example.com/", or just "example.com" (matched to your properties). Optional when you have one property or GSC_DEFAULT_SITE is set.
sitemapUrlYesFull sitemap URL, e.g. "https://www.example.com/sitemap.xml". Must belong to the property.

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 already declare destructiveHint=true and readOnlyHint=false, but the description adds meaningful context beyond them: the destruction is limited to Search Console tracking, the remote file is untouched, indexed URLs remain indexed, and user confirmation plus write access are required. That is exactly the extra information an agent needs to avoid over-warning or under-warning.

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: action, scope-of-effect caveat, then safety prerequisite. Front-loaded with the verb and no redundant or filler wording.

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 destructive tool with no output schema, the description covers what is removed, what is not removed, auth requirements, and the confirmation requirement. Nothing material 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%, so both parameters (site, sitemapUrl) are already documented with examples and constraints such as the sitemap belonging to the property. The description adds no parameter-level meaning beyond the schema; 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 ('Removes a sitemap from Search Console') and immediately scopes the effect: tracking stops, the file and indexed URLs are unaffected. This makes it unambiguously distinct from submit_sitemap and list_sitemaps without needing to name them.

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?

Explicitly sets a gating condition ('Confirm with the user before calling') and a prerequisite ('Requires write access'), plus an implicit when-not: if the user wants the actual file deleted or URLs deindexed, this tool is not the answer. It stops short of naming a concrete alternative tool to run first (e.g. list_sitemaps to verify).

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