Skip to main content
Glama

network.list_websockets

Read-only

Query recorded WebSocket connections and server-sent event streams to inspect handshake details, frame counts, and filter by URL, target, or open status.

Instructions

Recorded WebSocket connections, with handshake details and frame counts. Server-sent event streams appear here too.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "network.list_websockets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
open_onlyNo
target_idNoTarget handle (tgt_*). Omit for the active page.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.
url_containsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds real value by disclosing that SSE streams are also returned, which an agent could not infer from the name or schema; otherwise it says nothing about ordering, pagination, or whether connections are live versus historical.

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

Conciseness4/5

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

Two short sentences, front-loaded with the primary resource and followed by the SSE caveat. Compact with essentially no wasted wording, though it is thin for a five-parameter tool.

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?

A five-parameter read tool with 40% schema coverage and no output schema needs the description to explain what a connection record contains and how the undocumented filters behave. The description instead covers only what is listed and a single edge case, leaving the agent to guess at filtering and result shape.

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

Parameters3/5

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

Schema coverage is 40%, so the two documented handles (target_id, browser_id) come from the schema while limit, open_only, and url_contains are undocumented anywhere. The description does not compensate for open_only or limit semantics, though its reference to 'recorded' connections hints that results include closed sessions.

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

Purpose4/5

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

The description names a specific resource ('Recorded WebSocket connections') and adds scope detail ('handshake details and frame counts'), plus a noteworthy edge case that server-sent event streams are included. It does not explicitly distinguish itself from the closely related sibling network.ws_messages, which is the main gap for a 5.

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?

The description offers no when-to-use guidance, no prerequisites, and never mentions the obvious alternative network.ws_messages for inspecting message payloads. The only implied guidance is the SSE inclusion note, which helps discovery but is not usage direction.

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

Deploy Server

Other Tools