Skip to main content
Glama

sitemap_changes

Reads XML sitemaps from one or more websites and lists their URLs, optionally returning only pages added, updated, or removed since a previous call with the same state key.

Instructions

Read the XML sitemaps of one or more websites (found via robots.txt) and list their URLs. With onlyChanges=true, return only pages added, updated (lastmod) or removed since the previous call with the same stateKey.

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": {
      "startUrls": "<startUrls>"
    },
    "name": "sitemap_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateKeyNoName of the saved state used for change detection (default "default").
startUrlsYesWebsite or sitemap URLs, e.g. https://example.com or https://example.com/sitemap.xml.
extraInputNoAny other input field of the Actor, as documented on its Apify page. Overrides the fields above.
maxResultsNoMaximum number of result items returned to the assistant (default 50). The full dataset stays in your Apify account.
onlyChangesNoReturn only new, updated and removed pages since the last run (default false).
maxUrlsPerSiteNoMaximum URLs read per site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the robots.txt discovery path and the stateful delta semantics tied to stateKey, but says nothing about read-only guarantees, rate limits, or behavior when no prior state exists for a stateKey.

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, zero filler. The core operation is front-loaded and the conditional delta behavior follows immediately in a clearly marked clause.

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?

With no output schema, the description does sketch the return shape (a list of URLs, or only added/updated/removed pages), which is what an agent needs. Minor gaps remain around the extraInput override field and pagination/dataset limits, but the rich input schema covers most ground.

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 the baseline is 3, but the description adds a cross-parameter relationship the schema does not state: onlyChanges compares against the previous call using the same stateKey. That coupling is real added meaning beyond the per-field descriptions.

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: read XML sitemaps (discovered via robots.txt) and list their URLs, plus a change-detection mode. An agent immediately knows what the tool returns. It does not explicitly differentiate itself from a possible sibling like seo_audit, which keeps it from a 5.

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?

The description gives one concrete conditional usage rule: set onlyChanges=true to get a delta instead of the full URL list. It never says when not to use the tool, what to do when robots.txt or the sitemap is missing, or which sibling to prefer for adjacent SEO work.

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