Skip to main content
Glama
nfodor

Chromium ARM64 Browser

by nfodor

get_network_logs

Retrieve network activity logs from the Chromium browser on ARM64 devices to monitor HTTP requests, analyze traffic patterns, and debug web applications during automation testing.

Instructions

Get network activity logs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the 'get_network_logs' tool logic by returning the stored networkLogs array as formatted JSON in the MCP response format.
    async getNetworkLogs() {
      return {
        content: [{ type: 'text', text: JSON.stringify(networkLogs, null, 2) }],
      };
    }
  • The input schema and metadata definition for the 'get_network_logs' tool, registered in the ListTools response. No input parameters required.
    {
      name: 'get_network_logs',
      description: 'Get network activity logs',
      inputSchema: {
        type: 'object',
        properties: {},
      },
    },
  • index.js:371-372 (registration)
    The switch case in the CallToolRequest handler that routes calls to the getNetworkLogs method.
    case 'get_network_logs':
      return await this.getNetworkLogs();
  • Global array storing network log entries collected from CDP Network.responseReceived events.
    let networkLogs = [];
  • Event listener in setupEventListeners that populates the networkLogs array on Network.responseReceived events.
    if (message.method === 'Network.responseReceived') {
      const logEntry = {
        url: message.params.response.url,
        status: message.params.response.status,
        statusText: message.params.response.statusText,
        method: message.params.response.requestMethod || 'GET',
        timestamp: new Date().toISOString()
      };
      
      networkLogs.push(logEntry);
      
      if (message.params.response.status >= 400) {
        networkErrors.push(logEntry);
      }
      
      // Keep only last 100 entries
      if (networkLogs.length > 100) networkLogs.shift();
      if (networkErrors.length > 100) networkErrors.shift();
    }
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the action but doesn't explain what 'network activity logs' include, whether this is a read-only operation, if it requires specific permissions, or how the logs are formatted/returned. This leaves significant gaps in understanding the tool's behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with just three words, front-loading the key action and resource. There is no wasted language, making it efficient and easy to parse, though this conciseness comes at the cost of detail in other dimensions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of annotations and output schema, the description is incomplete. It doesn't specify what 'network activity logs' entail, how they are returned, or any behavioral traits. For a tool with no structured data to rely on, more context is needed to fully understand its use and output.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description doesn't add parameter details, but since there are no parameters, this is acceptable, and it implies the tool retrieves logs without requiring inputs, which is clear enough for a baseline score.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Get network activity logs' clearly states the action (get) and resource (network activity logs), which is adequate. However, it doesn't distinguish this tool from its sibling 'get_network_errors' or other logging tools like 'get_console_logs', leaving room for ambiguity about what specific logs are retrieved.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. With siblings like 'get_network_errors' and 'get_console_logs', the description lacks context on whether this retrieves all network logs, specific types, or how it differs from other logging tools, offering no usage instructions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other 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/nfodor/mcp-chromium-arm64'

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