Skip to main content
Glama

Diff two sitemaps into an IndexNow list

diff_sitemaps

Parses two sitemap documents (urlset XML, sitemapindex XML, or a newline-delimited URL list) and reports added, removed and lastmod-changed URLs. Returns only the URLs worth submitting to IndexNow. Pass a key to also get the finished, validated POST body.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoOptional IndexNow key; supplying it returns a ready-to-send payload.
engineNoOptional target endpoint name.
keyLocationNoOptional key file URL.
current_sitemapYesThe current sitemap document.
include_removedNoInclude removed URLs in the submission list. Default false.
previous_sitemapYesThe earlier sitemap document.

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses accepted input formats, the diff logic (added, removed, lastmod-changed), the filtering to relevant URLs, and the optional key-driven POST body. This is sufficient for a read-only analysis tool.

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?

The description is exactly two sentences, front-loaded with the main verb and object, and every clause adds value. No filler or repetition of schema details.

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?

Given moderate complexity (6 params, no output schema), the description adequately covers inputs, processing, and output categories. It doesn't specify the exact return format, but the phrase 'reports added, removed and lastmod-changed URLs' gives enough guidance for an agent to interpret results.

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 100%, so baseline is 3. The description adds meaning beyond the schema by specifying the document formats for previous_sitemap/current_sitemap and explaining that the key can yield a 'finished, validated POST body.' This adds useful context to the parameters.

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 clearly states the specific action: 'Parses two sitemap documents' and 'reports added, removed and lastmod-changed URLs.' It also names the output scope ('URLs worth submitting to IndexNow'), distinguishing this tool from siblings that build or validate messages.

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?

The description makes the primary use case explicit: diff two sitemaps to produce a submission list. It doesn't explicitly mention when to choose build_indexnow_payload or validate_indexnow_key, but the context implies the workflow, so there's no exclusion gap.

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.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: building payloads, diffing sitemaps, and validating keys. There is no overlap or ambiguity in their responsibilities.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case: build_indexnow_payload, diff_sitemaps, validate_indexnow_key. The naming is uniform and predictable.

Tool Count5/5

With only 3 tools, the set is tightly scoped to the IndexNow workflow. Each tool earns its place and the count is appropriate for the server's purpose.

Completeness5/5

The toolkit covers the essential IndexNow steps: key validation, URL discovery via sitemap diffing, and payload generation. Submission is handled externally via the generated curl command, which is a reasonable boundary. No significant gaps are apparent.

Resources