Skip to main content
Glama
AutomateLab-tech

Citation Intelligence MCP

audit_sitemap_map

Read-onlyIdempotent

Cross-reference a sitemap with the citation cache to identify which URLs have been cited and view query and engine counts.

Instructions

Cross-reference a sitemap with the citation cache. For each sitemap URL, reports whether it appears in cached citations (and how many queries/engines cited it). Inverse of audit_sitemap: not 'how citable is each URL', but 'has each URL actually been cited yet'. Cache must be primed via check_citations or run_panel first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax sitemap URLs to consider.
sinceNoISO date floor; only count citations recorded on or after this date.
domainNoDomain to look up citations for. If omitted, inferred from the sitemap host.
sitemap_urlYesURL of sitemap.xml (or a sitemap index). Nested sitemaps are followed.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
sinceNo
domainYesDomain whose citation cache was queried.
mappedYesURLs found in the citation cache.
unmappedYesURLs not yet seen in the citation cache.
fetched_atYesUTC ISO-8601 timestamp.
total_urlsYesTotal sitemap URLs considered.
mapped_urlsYesSitemap URLs present in the cache, sorted by citation count desc.
sitemap_urlYesThe sitemap that was processed.
coverage_pctYesPercentage of sitemap URLs that have been cited (0-100).
unmapped_urlsYesSitemap URLs not yet cited (up to 200).
citations_in_cacheYesTotal citation cache entries for this domain.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so the safety profile is covered. The description adds the important operational dependency (prime the cache first) and the per-URL reporting content (whether/ how many queries and engines cited it), which the annotations do not convey.

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 tight sentences, front-loaded with the core operation, followed by the inverse framing and the prerequisite. No filler; every sentence carries unique information.

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

Completeness5/5

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

An output schema exists so return values need not be explained, and the description covers the operation, the differentiation from siblings, and the cache-priming prerequisite. Nothing an agent needs to call it correctly 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%, so limit, since, domain and sitemap_url are all documented in the schema. The description adds no syntax or format detail beyond what the schema provides, so the baseline 3 applies.

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 (cross-reference) and resources (sitemap vs. citation cache), then explicitly frames itself as the inverse of audit_sitemap. An agent can distinguish it from the sibling without opening the 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?

Names the sibling it contrasts with (audit_sitemap) and states the precondition to use it at all: the cache must be primed via check_citations or run_panel first. This is explicit alternative and prerequisite guidance.

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