Skip to main content
Glama

detect_orphan_pages

Read-onlyIdempotent

Cross-reference a completed crawl with an XML sitemap to identify orphan pages missing internal links and unlisted pages missing from the sitemap.

Instructions

Cross-reference a completed crawl with a sitemap to find orphan pages (in sitemap but not linked) and unlisted pages (found during crawl but not in sitemap).

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": {
      "crawlId": "<crawlId>",
      "sitemapUrl": "<sitemapUrl>"
    },
    "name": "detect_orphan_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
crawlIdYesThe crawl ID to check.
sitemapUrlYesURL of the XML sitemap to cross-reference against.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=true, so the safety and repeatability profile is covered. The description adds one piece of behavior beyond that — the operation requires a completed crawl and compares two datasets — but says nothing about how large sitemaps are handled, rate limits, or what happens if the sitemap URL is unreachable.

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?

One front-loaded sentence with the action first and the two output definitions in a compact parenthetical; nothing is redundant. The parenthetical is slightly dense but each clause earns its place by defining a distinct result category.

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-only comparison tool with no output schema, the description covers the essential contract: what is compared, what prerequisite state is required, and what the two result categories mean. Missing only guidance on failure modes (invalid sitemap URL) and result shape, which is acceptable given the tool's simplicity.

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%, with both parameters documented inline, so the schema carries the parameter semantics. The prose only restates that the crawlId is for a completed crawl and the sitemapUrl is XML, adding no format, validation, or edge-case detail beyond the schema.

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 specific verb ('cross-reference') and two named resources ('a completed crawl' and 'a sitemap'), then defines both result categories (orphan pages = in sitemap but not linked; unlisted pages = crawled but not in sitemap). That is enough to distinguish it from a plain sitemap parser, but it never names a sibling (e.g. analyze_sitemap or analyze_internal_links) to route the agent away from the simpler alternatives.

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 phrase 'a completed crawl' implies a prerequisite (the crawl must have finished, and a crawlId must exist), which is useful implied guidance. There is no explicit when-not-to-use statement and no named alternative for a user who only wants to inspect the sitemap itself, so usage must be inferred.

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