Skip to main content
Glama

run_audit_mode

Execute comprehensive browser audits to identify optimization opportunities for web performance, accessibility, and security during automated testing on ARM64 devices.

Instructions

Run comprehensive audit mode for optimization

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for 'run_audit_mode' tool. It orchestrates multiple individual audit methods (accessibility, performance, SEO, best practices, Next.js) and compiles a comprehensive summary and full report.
    async runAuditMode() { const results = {}; results.accessibility = await this.runAccessibilityAudit(); results.performance = await this.runPerformanceAudit(); results.seo = await this.runSEOAudit(); results.bestPractices = await this.runBestPracticesAudit(); results.nextjs = await this.runNextJSAudit(); const summary = Object.entries(results) .map(([category, result]) => `${category}: ${result.isError ? 'FAILED' : 'COMPLETED'}`) .join('\\n'); const fullReport = Object.entries(results) .map(([category, result]) => `\\n=== ${category.toUpperCase()} ===\\n${result.content[0].text}`) .join('\\n'); return { content: [{ type: 'text', text: `Comprehensive Audit Mode Results:\\n\\nSUMMARY:\\n${summary}\\n\\nFULL REPORT:${fullReport}` }], }; }
  • index.js:391-392 (registration)
    The switch case in the CallToolRequest handler that dispatches calls to the runAuditMode method.
    case 'run_audit_mode': return await this.runAuditMode();
  • index.js:327-334 (registration)
    The tool registration in the ListTools response, including name, description, and empty input schema.
    { name: 'run_audit_mode', description: 'Run comprehensive audit mode for optimization', inputSchema: { type: 'object', properties: {}, }, },
  • The input schema definition for the 'run_audit_mode' tool (no required parameters).
    inputSchema: { type: 'object', properties: {}, },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nfodor/claude-arm64-browser'

If you have feedback or need assistance with the MCP directory API, please join our Discord server