Skip to main content
Glama

Google Ads & Meta Ads

Search Console: Delete Sitemap

gsc_delete_sitemap
DestructiveIdempotent

Remove one sitemap submission from a Google Search Console property of the user's connected Google login (Search Console's sitemaps.delete), for example an old or duplicate sitemap. The sitemap must be in the property's submitted list (gsc_list_sitemaps); anything else changes nothing. The connected login needs Full user or Owner permission. Does not delete the sitemap file from the site, does not remove any URL from Google Search results, and does not stop Google from discovering those URLs by other means. Name the sitemap to the user and get their approval first.

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_delete_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 submitted sitemap's full URL, exactly as gsc_list_sitemaps reports its path.

Output Schema

NameRequiredDescriptionDefault
siteYesThe Search Console property, as Google spells it.
changedYesTrue only when this call changed Search Console.
operationYesWhat happened: the change made, no_change, or dry_run.
sitemapUrlNoThe sitemap named in the call.
submittedSitemapsNoOn no_change: the sitemaps the property does have submitted.

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, the description discloses key behavioral boundaries: it does not delete the sitemap file, does not remove URLs from Google Search results, and does not stop discovery by other means. It also states the permission requirement and instructs the agent to get user approval before deletion.

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 description is front-loaded with purpose and then layers preconditions, permissions, non-effects, and approval guidance without filler. It is slightly long but every clause carries useful safety or scope information.

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 destructive mutation tool, the description covers purpose, preconditions, permissions, non-effects, and required user approval. An output schema exists, so return-value details are not needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3. The description adds meaningful semantic context by requiring that sitemap_url refer to an entry in the property's submitted list as reported by gsc_list_sitemaps, which goes beyond the schema's wording.

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 states a specific verb and resource: remove one sitemap submission from a Google Search Console property, explicitly mapped to Search Console's sitemaps.delete. It also distinguishes this from deleting the sitemap file or removing URLs from search results.

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?

It gives a clear use case (old or duplicate sitemap), a precondition that the sitemap must already be in the property's submitted list as shown by gsc_list_sitemaps, and required permission. It does not explicitly name an alternative tool for related operations, but the guidance is strong and actionable.

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