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.9/5.0
Behavior5/5

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

Annotations already mark the tool as read-only, open-world, idempotent, and non-destructive, and the description adds substantial behavioral context: robots.txt respect, page cap, same-origin boundary, no JavaScript execution, no asset fetching, no recursive link following, and deduplicated findings. This goes well beyond the structured annotations.

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?

Four short sentences carry distinct, non-redundant information: when to use, what it returns at most, what it avoids, and how to paginate. Every sentence contributes and the most important usage guidance is front-loaded.

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?

Given the output schema is present and annotations cover side effects, the description is complete for safe invocation. It covers authorization, scope, limits, exclusions, and continuation, leaving no critical operational gap.

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 coverage is 100%, so the baseline is 3, but the description adds meaning by framing max_pages and page_offset as part of a sitemap-first bounded audit and by explaining when page_offset is needed. This gives the agent operational context beyond the individual parameter descriptions.

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 states a specific verb (audit), resource (public website), and scope (bounded, sitemap-first, at most 8 same-origin HTML pages). It also explicitly lists what it does not do, 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 Guidelines5/5

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

It opens with an explicit 'Use this for' condition plus the authorization requirement. It clearly states what the tool will not do, signaling when a different tool is needed, and it instructs the agent to use page_offset to continue when more sitemap pages remain.

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.3/5.0
Disambiguation4/5

Tools are mostly distinct by input mode (live URL vs supplied HTML/CSS) and check scope (HTML, CSS, JSON-LD, SEO signals, links). The main ambiguity is between audit_public_webpage and generate_validation_report, which run nearly the same checks but differ only in fetching vs supplied HTML; their descriptions call this out clearly.

Naming Consistency4/5

All names follow a lowercase snake_case verb_noun pattern, but the set mixes four verbs (audit, check, generate, validate) for closely related validation operations. This is readable and predictable, with only minor semantic inconsistency around validate_schema_markup and generate_validation_report.

Tool Count5/5

Eight tools is well within the ideal range and each covers a distinct input type or validation focus. The count feels appropriate for a web-validation server without redundancy bloating the surface.

Completeness4/5

The domain is well covered: live-page and sitemap audits, raw HTML/CSS/JSON-LD validation, SEO/accessibility signals, and broken links are all represented. Minor gaps exist, such as no dedicated accessibility validator and limited link-checking behavior, but agents can accomplish the core workflows.