Skip to main content
Glama

network.ws_messages

Read-only

Query WebSocket frames by connection ID and filter by sent/received direction or payload text to inspect real-time message traffic.

Instructions

Frames on one WebSocket, filterable by direction and payload text.

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": {
      "websocket_id": "<websocket_id>"
    },
    "name": "network.ws_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
orderNo
offsetNo
searchNo
directionNo
websocket_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/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 without the description. The description adds that results are scoped to one socket and can be narrowed by direction and payload text, but says nothing about pagination defaults, ordering behavior, or whether frame payloads are returned in full or truncated.

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?

A single front-loaded sentence with no filler, and the scoping constraint appears first. It is efficient, though the brevity borders on under-specification for a six-parameter tool.

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

Completeness3/5

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

For a read-only list tool the annotations cover the safety dimension, but with 0% schema coverage, no output schema, and no mention of pagination or result volume, the definition does not fully equip an agent to page through frames or predict what a call returns.

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

Parameters2/5

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

Schema description coverage is 0% across six parameters, so the description carries the full burden, yet it only accounts for direction and search. The meanings of limit, offset, order, and the expected format of websocket_id are documented nowhere, leaving most of the contract to guesswork.

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?

"Frames on one WebSocket" names a concrete resource and makes the scope explicit (a single socket, keyed by websocket_id), which separates it from network.list_websockets. The verb is implied rather than stated (list/read), so an agent must infer the operation from the noun phrase.

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 gives no when-to-use or when-not-to-use guidance and names no alternative. The only hint is the implicit prerequisite of having a websocket_id, presumably obtained from network.list_websockets, but that is never stated.

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