Skip to main content
Glama

getNetworkLogs

Capture and analyze all network logs in a browser to monitor traffic, diagnose issues, and audit website performance using Chrome extension integration.

Instructions

Check ALL our network logs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Inline handler for getNetworkLogs tool: fetches network success logs from the browser connector server via HTTP GET to /network-success endpoint, wrapped in withServerConnection for discovery/reconnection, and returns formatted JSON response.
    server.tool("getNetworkLogs", "Check ALL our network logs", async () => { return await withServerConnection(async () => { const response = await fetch( `http://${discoveredHost}:${discoveredPort}/network-success` ); const json = await response.json(); return { content: [ { type: "text", text: JSON.stringify(json, null, 2), }, ], }; }); });
  • Registration of the getNetworkLogs tool on the MCP server with description 'Check ALL our network logs' and inline async handler.
    server.tool("getNetworkLogs", "Check ALL our network logs", async () => { return await withServerConnection(async () => { const response = await fetch( `http://${discoveredHost}:${discoveredPort}/network-success` ); const json = await response.json(); return { content: [ { type: "text", text: JSON.stringify(json, null, 2), }, ], }; }); });

Other Tools

Related Tools

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/oenius/browser-tools-mcp'

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