Skip to main content
Glama

Search console generate sitemap

search_console_generate_sitemap

Build a sitemap from URLs Google has seen for a property. Poll with search_console_get_sitemap_job. Changes data: runs only with confirm=true; without it, returns a preview and changes nothing. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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": {
      "site_url": "<site_url>"
    },
    "name": "search_console_generate_sitemap"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
confirmNo
user_idNo
end_dateNo
max_urlsNo
site_urlYes
client_idNo
start_dateNo
user_emailNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and idempotentHint=false; the description goes well beyond them by disclosing the async job model, the confirm-gated mutation, and that a call without confirm changes nothing and returns a preview. That is exactly the safety-relevant context an agent needs before invoking a write tool that spawns a job.

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?

Four short sentences, front-loaded with purpose then workflow then the mutation caveat, with no filler. Slightly denser than ideal in the final sentence where client_id and extra guidance are compressed together.

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 an async, confirm-gated generator with an output schema, the description covers the essential shape: what is built, how to poll, and how to avoid an accidental write. It leaves the date-window and max_urls controls unexplained, which are the remaining gaps for correct invocation.

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 0%, so the description must carry parameter meaning and it only partly does: it explains confirm, client_id (including the active-brand default), extra, and implies site_url. Five parameters — user_id, user_email, start_date, end_date, max_urls — are never explained, and start_date/end_date in particular define which URLs are eligible for the sitemap.

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 ('Build a sitemap from URLs Google has seen for a property'), which cleanly separates it from search_console_submit_sitemap and search_console_list_sitemaps. The scope qualifier 'URLs Google has seen' tells the agent what source data drives the build without needing the schema.

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 explicit workflow guidance — poll with search_console_get_sitemap_job — and states the confirm=true gate that selects the real run over the preview. It does not explicitly say when to prefer this over submit_sitemap, but the build-vs-submit distinction is implied clearly enough by the purpose line.

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.