Skip to main content
Glama

get_network_logs

Retrieve and filter network traffic data from Chrome DevTools Protocol, including REST API calls and WebSocket frames, for debugging web applications.

Instructions

Retrieve intercepted network requests (REST) and WebSocket frames with optional advanced filtering. Use this tool to inspect API calls, page assets, and WebSocket traffic. It is highly recommended to use the available filters to avoid flooding the context window with unnecessary network data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ws_direction_filterNoFilter WebSocket frames by their transmission direction. Valid options: "sent" (client to server), "received" (server to client), or "both" (default).
type_filterNoSelect the type of network traffic to retrieve. Valid options: "rest" (only REST/HTTP requests), "websocket" (only WebSocket frames), or "both" (default).
clearNoIf true, clears the internal network logs cache after retrieving the current logs. Use this to reset the state and only capture new traffic going forward.
include_detailsNoIf true (default), returns full details including request/response headers, response bodies for REST, and full payloads for WebSockets. If false, returns a summary containing only the URL, method, status, statusText, and resourceType (or payload length for WS). Set to false when you just need to survey what requests were made without downloading all their contents.
ws_content_filterNoFilter WebSocket frames by their payload content. Only frames whose payload data contains this exact string (case-insensitive) will be returned.
url_filterNoFilter by URL content. Only requests or WebSocket connections whose URL contains this exact string (case-insensitive) will be returned. Leave empty to disable URL filtering.

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/raultov/chrome-debug-mcp'

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