Skip to main content
Glama

Get Sitemap Details

gsc_get_sitemap
Read-only

Retrieve details of a submitted sitemap for a Search Console property, including its status, submitted contents and error counts. Use it to check whether a sitemap was processed or has issues.

Instructions

Get details of one submitted sitemap (feedpath) for a property: status, contents and error counts.

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_get_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, e.g. https://www.example.com/sitemap.xml

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description adds value by naming the returned payload (status, contents, error counts), which is the main behavioral context an agent needs. It omits what happens for an unknown feedpath (error vs empty result) and says nothing about the unusual idempotentHint=false on a read operation.

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?

A single front-loaded sentence with the verb, the unit of retrieval, and the returned fields in that order. Nothing is redundant and nothing is buried.

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 read tool with no output schema, the description covers purpose, identifying parameter, and the shape of the response well enough to call it correctly. The only real gap is failure behavior for an invalid or unsubmitted feedpath.

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 siteUrl and feedpath are already fully documented with formats and an example. The description reinforces that feedpath is the identifying argument for the single-sitemap lookup but adds no syntax or edge-case meaning beyond the schema, making baseline 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource with its scope: fetch details for exactly one submitted sitemap identified by feedpath within a property. The parenthetical '(feedpath)' ties the noun to the parameter, and 'one submitted sitemap' implicitly distinguishes it from the list operation, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: an agent can infer this is the lookup to use when it already has a sitemap URL, but the description never says when to prefer gsc_list_sitemaps or what happens if the sitemap was never submitted. No explicit exclusions or prerequisites are given.

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