Skip to main content
Glama

manage_sitemap

Generate, validate, update, and list sitemap.xml to maintain accurate documentation links for SEO and deployment tracking.

Instructions

Generate, validate, and manage sitemap.xml as the source of truth for documentation links. Sitemap.xml is used for SEO, search engine submission, and deployment tracking.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform: generate (create new), validate (check structure), update (sync with docs), list (show all URLs)
docsPathYesPath to documentation root directory
baseUrlNoBase URL for the site (e.g., https://user.github.io/repo). Required for generate/update actions.
includePatternsNoFile patterns to include (default: **/*.md, **/*.html, **/*.mdx)
excludePatternsNoFile patterns to exclude (default: node_modules, .git, dist, build, .documcp)
updateFrequencyNoDefault change frequency for pages
useGitHistoryNoUse git history for last modified dates (default: true)
sitemapPathNoCustom path for sitemap.xml (default: docsPath/sitemap.xml)
Behavior2/5

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

With no annotations provided, the description must disclose behavioral traits. It only states the tool manages sitemap but doesn't describe side effects, required permissions, or behavior on errors (e.g., what happens during validation). For a tool that likely modifies files, this is insufficient.

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?

The description is two sentences, front-loaded with the main purpose, and includes relevant context (SEO, deployment). No wasted words.

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?

Given the tool has 8 parameters, no output schema, and no annotations, the description is too brief. It doesn't explain return values, error handling, or how the sitemap is used in deployment tracking. An agent would lack context for proper invocation.

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%, so the input schema already explains each parameter. The description adds no additional meaning beyond the schema. Baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: generating, validating, and managing sitemap.xml as the source of truth for documentation links. It also mentions SEO and deployment tracking, providing context. This differentiates it from sibling tools like check_documentation_links or sync_code_to_docs, which have different focuses.

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 lacks explicit guidance on when to use this tool versus alternatives. It doesn't mention prerequisites or disclaimers about when not to use it. Sibling tools exist for related tasks (e.g., check_documentation_links), but no comparisons are made.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tosin2013/documcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server