Skip to main content
Glama

Audit public site

audit_public_site
Read-onlyIdempotent

Use this for a bounded, sitemap-first audit of a public website the user owns or is authorized to inspect. It fetches at most 8 same-origin HTML pages per call, respects robots.txt, and returns compact page summaries plus deduplicated findings. It does not recursively follow HTML links, authenticate, execute JavaScript, fetch assets, or run site-wide link checks. Use page_offset to continue when more sitemap pages remain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYesAuthorized public website URL. The final public origin becomes the crawl boundary.
max_pagesNoMaximum same-origin pages to audit in this call, from 1 to 8.
page_offsetNoZero-based sitemap-page offset for continuing a capped audit batch.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
pagesYes
overviewYes
site_urlYes
discoveryYes
truncatedYes
sitemap_urlNo
issue_groupsYes
pages_failedYes
pages_auditedYes
pages_partialYes
pages_selectedYes
discovery_errorNo
next_page_offsetNo
pages_discoveredYes
audit_health_scoreNo
pages_skipped_robotsYes
issue_groups_truncatedYes
score_coverage_percentYes

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint. The description adds meaningful behavioral details beyond annotations: it respects robots.txt, fetches at most 8 same-origin pages, does not authenticate/execute JavaScript/fetch assets, and explains pagination with page_offset. This fully informs the agent of runtime behavior.

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 compact and front-loaded, with four purposeful sentences covering purpose, constraints, exclusions, and continuation. No redundant or filler content; every sentence earns its place.

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?

With a high-quality schema, rich annotations, and an output schema present, the description still adds necessary context: the sitemap-first approach, robots.txt compliance, the 8-page cap, deduplication, non-authentication, and pagination. This makes the tool fully understandable and usable without further clarification.

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

Parameters4/5

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

Schema description coverage is 100%, so baseline is 3. The description adds value by explaining page_offset's role in continuing the audit ('Use page_offset to continue when more sitemap pages remain') and implicitly clarifies max_pages bound via 'at most 8 same-origin HTML pages per call'. This enriches parameter understanding 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?

The description clearly states the tool performs a bounded, sitemap-first audit of a public website. It specifies the resource (public website), the scope (sitemap-first, at most 8 pages), and the deliverables (compact page summaries plus deduplicated findings), distinguishing it from sibling tools like check_broken_links and audit_public_webpage.

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

Usage Guidelines4/5

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

The description explicitly says when to use the tool ('for a bounded, sitemap-first audit of a public website the user owns or is authorized to inspect') and clearly lists what it does not do (e.g., site-wide link checks), which implies when not to use it. However, it does not explicitly name alternative sibling tools, so the guidance is strong but not fully explicit.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: site audit, single page audit, SEO metadata check, broken links check, combined report generation, and separate validators for CSS, HTML, and JSON-LD. Descriptions explicitly clarify boundaries (e.g., 'does not fetch a live webpage' vs 'use for a live URL').

Naming Consistency3/5

Tools use four different verb prefixes ('audit_', 'check_', 'generate_', 'validate_') without a unifying pattern, making the naming scheme somewhat inconsistent. While each prefix is reasonable, the lack of a consistent verb_noun structure reduces predictability.

Tool Count5/5

With 8 tools, the set is well-scoped for a web validation server, covering the major validation tasks (HTML, CSS, JSON-LD, broken links, SEO signals, site audit) without unnecessary bloat. Each tool earns its place.

Completeness4/5

The tool surface covers core validation needs for public websites, but lacks some advanced SEO checks (e.g., mobile-friendliness, performance) and does not validate Schema.org vocabulary semantics. Minor gaps exist but do not severely hinder the server's primary purpose.

Resources