util_har_analyze
HAR file analyzer — Analyze a browser HAR (HTTP Archive) capture from DevTools/Playwright: requests, transfer bytes, wall time, timing totals, breakdown by status, resource type, protocol and domain (first vs third party), slowest and largest requests, errors, and a graded issue list (failed requests, 5xx/4xx, plain-HTTP, slow TTFB, uncompressed text, large images/scripts, static assets without caching, redirects, duplicate requests, HTTP/1.x, many third parties). Detects credentials in the capture (Authorization, cookies, API-key headers, tokens in URLs) and reports counts only, with secret query values redacted. Input har= (HAR JSON text) or url= (.har link, max 5 MB; first 3000 entries analyzed). Optional top= (default 10), slow_ms= (TTFB threshold, default 800), first_party= (domain). Offline. Price: $0.003 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"har": "<har>"
},
"name": "util_har_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| har | Yes | {"log":{"version":"1.2","creator":{"name":"WebInspector","version":"537.36"},"entries":[{"startedDateTime":"2026-11-25T10:00:00.000Z","time":950,"request":{"method":"GET","url":"https://shop.example.com/","headers":[]},"response":{"status":200,"httpVersion":"h2","headers":[{"name":"content-encoding","value":"br"}],"content":{"size":42000,"mimeType":"text/html"},"headersSize":310,"bodySize":9800},"timings":{"dns":20,"connect":40,"ssl":30,"send":1,"wait":840,"receive":19}},{"startedDateTime":"2026-11-25T10:00:01.000Z","time":120,"request":{"method":"GET","url":"http://cdn.example.com/app.js","headers":[]},"response":{"status":200,"httpVersion":"http/1.1","headers":[],"content":{"size":180000,"mimeType":"application/javascript"},"headersSize":250,"bodySize":180000},"timings":{"wait":60,"receive":60}},{"startedDateTime":"2026-11-25T10:00:01.200Z","time":80,"request":{"method":"GET","url":"https://shop.example.com/logo.png","headers":[]},"response":{"status":404,"httpVersion":"h2","headers":[],"content":{"size":500,"mimeType":"text/html"},"headersSize":200,"bodySize":500},"timings":{"wait":70,"receive":10}}]}} |