Skip to main content
Glama

seo_sitemap

Destructive

Retrieve XML sitemap URLs, ping Bing, edit robots.txt and llms.txt, and control AI crawler access to keep search and AI systems informed.

Instructions

Get the XML sitemap URL and ping Bing (Google retired sitemap ping in 2023), read/write robots.txt directives, manage the site's /llms.txt (the AI-facing "about this site" file that ChatGPT/Perplexity/Claude etc. read to understand what a site is and how to cite it), and control which named AI crawlers (GPTBot, ClaudeBot, Google-Extended, PerplexityBot, CCBot, Bytespider, Applebot-Extended) are allowed to fetch the site. Actions: get_sitemap, ping, get_robots, set_robots, get_llms_txt, set_llms_txt, get_ai_crawlers, set_ai_crawlers.

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": {
      "action": "<action>"
    },
    "name": "seo_sitemap"
  }
}

Input Schema

NameRequiredDescriptionDefault
botsNoFor set_ai_crawlers: map of bot name -> true (allow) / false (disallow), e.g. {"GPTBot": true, "CCBot": false}. Unlisted bots keep their current setting.
actionYesget_sitemap
contentNoFor set_robots: extra robots.txt rules to store. For set_llms_txt: the full llms.txt body (markdown per the llmstxt.org spec — an H1 site name, a blockquote summary, then H2 sections with links).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

B3.2/5.0
Behavior3/5

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

Only destructiveHint=true is supplied, and the description does add genuinely useful behavior context beyond it: sitemap ping targets Bing specifically because Google retired sitemap ping in 2023, and llms.txt is described as the file AI assistants read for citation. What's missing is the destructive side: it does not say whether set_robots overwrites or appends to existing directives, whether set_ai_crawlers affects live serving immediately, whether an undo exists, or what response the caller gets.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description front-loads the core resources and ends with a clean action list, but it is a single dense run-on sentence with a long parenthetical and a seven-item bot enumeration. The bot names belong in the schema examples rather than the description, and the multi-action nature makes it hard to scan.

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

Completeness2/5

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

There is no output schema, so the description carries the full burden of explaining return values, yet it says nothing about what get_sitemap, get_robots, get_llms_txt or get_ai_crawlers return, whether robots/llms content comes back as text, or what a ping response indicates. For an eight-action tool mixing reads and destructive writes, that is a significant omission.

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 67% and the schema itself describes all three parameters, including the bots map semantics ('unlisted bots keep their current setting') and the llms.txt body format. The description duplicates the action list but adds no further parameter guidance, such as whether 'content' for set_robots replaces prior rules or what a valid llms.txt body must contain beyond the spec reference.

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 specific verbs and resources and enumerates all eight actions explicitly (get_sitemap, ping, get_robots, set_robots, get_llms_txt, set_llms_txt, get_ai_crawlers, set_ai_crawlers), so the agent knows exactly the surface area. It also explains the non-obvious objects (llms.txt as the AI-facing 'about this site' file, AI crawler names). It loses a point because this is a bundled multi-action tool and the description never contrasts it against sibling tools like seo_analyze or seo_meta.

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 is implied only through the action enum: an agent can infer when each action applies because the names are self-describing and the description gives context for what robots.txt, llms.txt and crawler rules are. However, there is no explicit when-to-use or when-not-to-use guidance, no mention of prerequisites (site connection, permissions), and no pointer to alternatives or preconditions such as needing the site URL first.

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