Skip to main content
Glama

get-sitemap

Read-onlyIdempotent

Retrieve details for a specific sitemap using its host ID and sitemap ID; use when you have the IDs and need file-specific information.

Instructions

Get details for a specific sitemap. Use when the user already has a sitemap id and wants that file details. Do not use it to list files; call get-sitemaps or get-user-sitemaps. Do not use it to upload a sitemap; call add-sitemap.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
host_idYesHost ID
sitemap_idYesSitemap ID (URL-encoded)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds no further behavioral context such as permission requirements, error behavior, or what 'details' actually contains, so it does not exceed the annotation baseline.

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, zero waste: purpose first, then positive usage condition, then two negative routing rules. Every clause earns its place and routing information is front-loaded.

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 no output schema and a tiny two-parameter input, the description supplies everything needed for correct selection and routing. It is slightly thin on the host_id requirement and on what the returned details comprise, but no critical calling information is missing.

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%, including the URL-encoded note on sitemap_id, so the schema carries parameter semantics. The description only alludes to sitemap_id ('already has a sitemap id') and never mentions the required host_id, adding no format or constraint detail beyond the schema.

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?

States a specific verb and resource ('Get details for a specific sitemap') and explicitly scopes it to the case where the user already has a sitemap id. It distinguishes itself from sibling list/upload tools by name, so an agent can route correctly without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use ('user already has a sitemap id') plus two when-not-to-use clauses with named alternatives: get-sitemaps/get-user-sitemaps for listing and add-sitemap for uploading. Nothing about selection is left to inference.

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