Skip to main content
Glama

Delete Sitemap

gsc_delete_sitemap
Idempotent

Removes a submitted sitemap from a Search Console property's Sitemaps report without altering the file on your site. Use it to unlist a sitemap URL from Google's report after confirming the correct feedpath.

Instructions

WRITE, DESTRUCTIVE: remove a submitted sitemap from a property's Sitemaps report (the file on the site is untouched; Google may still crawl it). 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": {
      "feedpath": "<feedpath>"
    },
    "name": "gsc_delete_sitemap"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteUrlNoProperty like https://www.example.com/ or sc-domain:example.com. Omit if the account has exactly one property.
feedpathYesFull sitemap URL exactly as listed by gsc_list_sitemaps.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false and idempotentHint=true, and the description adds information annotations cannot convey: the operation is destructive, the origin file survives, and Google may continue crawling it anyway. The pre-call confirmation requirement is exactly the kind of behavioral context an agent needs before invoking a delete.

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?

Two sentences with the risk level front-loaded in caps, followed by the scope clarification and the confirmation rule. Every clause carries distinct information; nothing is repeated from the annotations or schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter destructive delete with no output schema, the description covers safety, effect, and the user-confirmation expectation. It does not say what happens on failure (e.g., feedpath not present in the report), a minor remaining gap.

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 (siteUrl and feedpath) are already documented, including the instruction to match gsc_list_sitemaps output exactly. The description adds no further parameter-level meaning, which is acceptable at full coverage but not credit-earning.

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 ('remove a submitted sitemap from a property's Sitemaps report') and immediately bounds the effect by clarifying that the file on the site is untouched. An agent can distinguish this from deleting an actual sitemap file or from gsc_delete_site without further reading.

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 a concrete procedural guideline — confirm with the user before calling — which is the key usage constraint for a destructive operation. It stops short of naming alternatives (e.g., use gsc_list_sitemaps to inspect before removing) or stating when-not to use it, so it falls one step short of a 5.

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