Skip to main content
Glama

run_audit_mode

Enable audit mode to analyze and optimize browser performance on ARM64 devices, supporting automated testing, JavaScript execution, and UI functionality checks.

Instructions

Run comprehensive audit mode for optimization

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The primary handler function for the 'run_audit_mode' tool. It orchestrates multiple specialized audits (accessibility, performance, SEO, best practices, and Next.js-specific) and compiles their results into 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:327-334 (registration)
    Tool registration entry in the list of available tools, defining the name, description, and input schema (empty object, no parameters required). This is used by the ListTools handler.
    { name: 'run_audit_mode', description: 'Run comprehensive audit mode for optimization', inputSchema: { type: 'object', properties: {}, }, },
  • index.js:391-392 (registration)
    Dispatch case in the CallToolRequestSchema handler that routes calls to the 'run_audit_mode' tool to the runAuditMode() method.
    case 'run_audit_mode': return await this.runAuditMode();
  • Input schema definition for the tool, specifying an empty object (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