Skip to main content
Glama

ADS MCP

Get Website Sitemap

get_sitemap
Read-only

Fetch and parse a website's sitemap.xml. Returns all page URLs. Falls back to homepage links if no sitemap found.

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": {
      "user_intent": "<user_intent>",
      "url": "<url>"
    },
    "name": "get_sitemap"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesDomain or URL. Example: example.com
limitNoMax pages to return. Default 50, max 200.
user_intentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds genuine behavioral context beyond them: it discloses the sitemap.xml source and the fallback to homepage links when no sitemap exists, which materially changes how an agent should interpret results. It does not mention crawl limits, timeouts, or how a sitemap index is handled.

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?

Three short sentences, front-loaded with the core action, then the return value, then the edge-case behavior. Every sentence carries information and nothing is padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read tool with no output schema, the description covers the action, the return value, and the fallback path. However, it leaves the required user_intent parameter unexplained and does not describe result shape (URLs only, ordering, truncation by limit), so an agent still has gaps before calling it confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 67%, and the gap is significant: user_intent is a required parameter with no schema description and no mention in the description at all. The description also adds nothing about how url normalization works (domain vs full URL) or how limit interacts with the sitemap page count.

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 states a specific verb and resource: fetch and parse a site's sitemap.xml, returning all page URLs. It is unambiguous what the tool does, though it offers no differentiation from any sibling (none of the listed siblings are sitemap-related, so the practical risk is low).

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?

Usage context is implied rather than stated: the agent learns it can get a site's page inventory and that a fallback exists when no sitemap is found. There is no explicit when-to-use versus when-not, and no prerequisites or guidance about when the fallback result would be misleading.

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.