Skip to main content
Glama

One site's structure from its sitemaps: sections, new and removed pages, what fails

sites_by_slug_map
Read-onlyIdempotent

Wraps GET /api/sites/{slug}/map. One site's structure from its sitemaps: sections, new and removed pages, what fails. Call this to see where a site is changing or breaking without crawling it: every path with pages under it, with new and removed pages in the window, pages that fail, broken links and sitemaps that miss pages. Add ?section= for one section's pages. Our sites only (competitors' sitemaps aren't read).

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": {
      "slug": "<slug>"
    },
    "name": "sites_by_slug_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYessite slug, as in /api/sites
rangeNothe window for new and removed pages7d
sectionNoa section path such as "/c" to list its pages

Output Schema

NameRequiredDescriptionDefault
dataNo
next_stepsNocalls that usually come next, each naming its tool

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • addedOutput schema / properties / data / properties / history / items / description
      Added value: +"One day of a sitemap's history"
    • addedOutput schema / properties / data / properties / history / items / properties / new / description
      Added value: +"pages first listed that day"
    • addedOutput schema / properties / data / properties / history / items / properties / removed / description
      Added value: +"pages dropped that day"
    • addedOutput schema / properties / data / properties / newInWindow / description
      Added value: +"first seen in the window"
    • addedOutput schema / properties / data / properties / pages / description
      Added value: +"pages listed now"
    • changedOutput schema / properties / data / properties / pagesShown / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "checked": {
      -          "type": "boolean"
      -        },
      -        "date": {
      -          "description": "content date (published, created, last modified), else first seen",
      -          "type": "string"
      -        },
      -        "fails": {
      -          "type": "boolean"
      -        },
      -        "hasBrokenLinks": {
      -          "type": "boolean"
      -        },
      -        "isNew": {
      -          "type": "boolean"
      -        },
      -        "missingFrom": {
      -          "items": {
      -            "type": "string"
      -          },
      -          "type": "array"
      -        },
      -        "path": {
      -          "type": "string"
      -        },
      -        "title": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "tone": {
      -          "enum": [
      -            "up",
      -            "warn",
      -            "down"
      -          ],
      -          "type": "string"
      -        },
      -        "url": {
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "checked": {
      +          "description": "the monitor checks it itself",
      +          "type": "boolean"
      +        },
      +        "date": {
      +          "description": "content date (published, created, last modified), else first seen",
      +          "type": "string"
      +        },
      +        "fails": {
      +          "description": "it fails now",
      +          "type": "boolean"
      +        },
      +        "hasBrokenLinks": {
      +          "description": "it has an open broken-links incident",
      +          "type": "boolean"
      +        },
      +        "isNew": {
      +          "description": "first seen in the window",
      +          "type": "boolean"
      +        },
      +        "missingFrom": {
      +          "description": "sitemaps that should list it and don't",
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "path": {
      +          "description": "its path",
      +          "type": "string"
      +        },
      +        "title": {
      +          "description": "its title, from the sitemap or the page",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "tone": {
      +          "description": "up: no known problem; warn: warnings or more than 20% removed; down: a page fails",
      +          "enum": [
      +            "up",
      +            "warn",
      +            "down"
      +          ],
      +          "type": "string"
      +        },
      +        "url": {
      +          "description": "the page",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / data / properties / range / description
      Added value: +"the window: 24h, 7d or 30d"
    • addedOutput schema / properties / data / properties / removedInWindow / description
      Added value: +"dropped in the window"
    • changedOutput schema / properties / data / properties / sections / items / properties / history / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "day": {
      -          "description": "YYYY-MM-DD, a UTC day",
      -          "type": "string"
      -        },
      -        "new": {
      -          "type": "number"
      -        },
      -        "pages": {
      -          "description": "pages listed at the day's end",
      -          "type": "number"
      -        },
      -        "removed": {
      -          "type": "number"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": {},
      +      "description": "One day of a sitemap's history",
      +      "properties": {
      +        "day": {
      +          "description": "YYYY-MM-DD, a UTC day",
      +          "type": "string"
      +        },
      +        "new": {
      +          "description": "pages first listed that day",
      +          "type": "number"
      +        },
      +        "pages": {
      +          "description": "pages listed at the day's end",
      +          "type": "number"
      +        },
      +        "removed": {
      +          "description": "pages dropped that day",
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / data / properties / sections / items / properties / missingFrom / items / properties / count / description
      Added value: +"pages it misses"
    • addedOutput schema / properties / data / properties / sections / items / properties / missingFrom / items / properties / sitemap / description
      Added value: +"the sitemap"
    • addedOutput schema / properties / data / properties / sitemaps / description
      Added value: +"the sitemaps read"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's added value is the REST endpoint it wraps, the no-crawl behavior, the restriction to owned sites, and an inventory of what the response contains including failure and broken-link data. That is meaningful context beyond the structured fields, missing only notes on cost or result size.

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?

The endpoint and purpose are front-loaded, and the long enumeration of returned artifacts earns its space by telling the agent what questions this tool answers. Minor redundancy with the title and the slightly run-on middle sentence keep it off a 5.

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 an output schema present, return values need not be spelled out, yet the description still summarizes them; all three parameters are covered by the schema and lightly reinforced in prose. For a read-only single-site map tool the definition is essentially complete, lacking only guidance on result volume or pagination.

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 coverage is 100% and every parameter is already documented, including the range enum default. The description only adds a light gloss on 'section' ('Add ?section= for one section's pages') and restates the window concept, so it does not go materially beyond the schema; baseline 3 applies.

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?

The description gives a concrete verb and resource ('Wraps GET /api/sites/{slug}/map') and enumerates the payload: sections, new/removed pages, failing pages, broken links. It distinguishes the tool from crawling ('without crawling it') and from competitor data ('Our sites only'), though it never names a sibling tool it could be confused with.

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?

It states a clear use case ('Call this to see where a site is changing or breaking without crawling it') and an exclusion ('competitors' sitemaps aren't read'), plus a scoping hint for the section parameter. It stops short of explicitly routing the agent to or away from a named alternative sibling.

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.

Resources