Skip to main content
Glama

browser_audit

Audit a given URL or current page for performance, accessibility, best practices, and SEO, with mobile/desktop emulation and optional network/CPU throttling.

Instructions

Run a comprehensive page audit (Performance, Accessibility, Best Practices, SEO) on the target session's page or a given URL with mobile/desktop emulation and optional network/CPU throttling.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "browser_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoOptional HTTP(S) URL to navigate to and audit. If omitted, audits the session's current page.
modeNo'navigation' reloads/navigates with observers & optional throttling; 'snapshot' audits current page state.navigation
deviceNoDevice profile to emulate ('mobile' or 'desktop', default: 'mobile').mobile
savePathNoOptional file path to save the full JSON audit report.
sessionIdNoOptional target browser session ID. If omitted, uses the currently active session (or auto-launches one).
categoriesNoAudit categories to run (defaults to all: performance, accessibility, best-practices, seo).
throttlingNoApply Slow 4G network and 4x CPU throttling during navigation audit on Chromium (default: true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does disclose emulation profiles and that throttling applies to Chromium by default, but it omits that navigation mode reloads/navigates the page and can discard existing page state, that a full audit is comparatively slow, and what is returned when savePath is omitted rather than the report being written to disk.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence that names the capability first and qualifies it afterwards, with no filler. It is dense but every clause (categories, target, emulation, throttling) contributes meaning.

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

Completeness3/5

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

For a seven-parameter tool with no annotations and no output schema, the description should say more about what comes back and about side effects of navigation mode. It covers the audit scope and emulation adequately but leaves the return value and sibling-selection story unresolved.

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 every one of the seven parameters is already documented with enums, defaults, and fallbacks. The description restates the categories, device emulation, and optional throttling but adds no format, constraint, or interaction detail beyond the schema, which is the expected baseline here.

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

Purpose4/5

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

States a specific verb and resource ('Run a comprehensive page audit') and enumerates the four audit categories, so the agent knows exactly what the tool produces. It does not, however, differentiate itself from close siblings such as browser_performance_score or browser_performance_metrics, leaving the boundary implicit.

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?

Usage is only implied: the description indicates you audit the session's page or a supplied URL, and the schema notes the current-page fallback. There is no explicit statement of when to prefer this full audit over the lighter performance-score or performance-metrics siblings, nor any when-not guidance.

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