Skip to main content
Glama

npm-package-ws-has-241560546-weekly-downloads-but-sdk

Server Details

Stateful WebSocket session registry with per-connection Shannon entropy delta tracking for schema di

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
nexus-mcp-infra/npm-package-ws-has-241560546-weekly-downloads-but-sdk
GitHub Stars
0

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.

Tool Definition Quality

Score is being calculated. Check back soon.

Available Tools

5 tools
nexus_npm_package_ws_has_241560546_weekly_down_close_websocket_sessionInspect

Sends a WebSocket close frame with the specified status code, waits for the server close handshake, and removes the session from the registry. Returns a final telemetry snapshot. Use when a session is no longer needed. Do NOT use to temporarily pause a session -- the session_id is permanently deallocated after this call and cannot be reused.

ParametersJSON Schema
NameRequiredDescriptionDefault
reasonNoOptional UTF-8 close reason string, max 123 bytes per RFC 6455.
session_idYes32-character session id of the session to close.
status_codeNoWebSocket close status code per RFC 6455 (1000-4999). Defaults to 1000.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

nexus_npm_package_ws_has_241560546_weekly_down_drain_ws_frame_bufferInspect

Returns up to max_frames buffered inbound frames received since the last drain (or session open), each annotated with its Shannon entropy delta and schema validation result. Use to poll for incoming messages without holding a blocking connection. Do NOT use as a real-time streaming mechanism -- it returns only frames already buffered.

ParametersJSON Schema
NameRequiredDescriptionDefault
max_framesNoMaximum number of buffered frames to return in a single call.
session_idYes32-character session id of the open session to drain frames from.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

nexus_npm_package_ws_has_241560546_weekly_down_inspect_ws_session_telemetryInspect

Returns real-time telemetry for a session: connection state, frame counts, cumulative and rolling Shannon entropy statistics, schema violation rate, and uptime. Use to diagnose whether a stream is diverging from its expected schema or to verify a session is still alive before sending. Do NOT use as the primary liveness check in a tight loop.

ParametersJSON Schema
NameRequiredDescriptionDefault
session_idYes32-character session id of the session to inspect.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

nexus_npm_package_ws_has_241560546_weekly_down_open_websocket_sessionInspect

Establishes a persistent WebSocket connection to a target URL and registers it in the stateful session registry. Returns a session_id for all subsequent operations. Use when an agent needs to initiate a long-lived connection before sending or receiving frames. Do NOT use to reconnect an already-open session -- call close_websocket_session first, or use the session_id of an existing session.

ParametersJSON Schema
NameRequiredDescriptionDefault
target_urlYesFull WebSocket URL to connect to (must start with ws:// or wss://).
connect_timeout_secondsNoMaximum seconds to wait for the WebSocket handshake to complete.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

nexus_npm_package_ws_has_241560546_weekly_down_send_typed_ws_frameInspect

Sends a single text or binary frame over an open session and returns the frame's Shannon entropy delta relative to the session baseline. Use for request-response patterns or publishing commands to a WebSocket server. Do NOT use to send a sequence of frames in bulk -- call this tool once per frame. Fails if session_id does not exist or connection is not in OPEN state.

ParametersJSON Schema
NameRequiredDescriptionDefault
payloadYesFrame payload. For binary frames, encode as hex and set frame_type to 'binary'.
frame_typeNoEither 'text' or 'binary'. Determines wire encoding.text
session_idYes32-character session id (uuid4 hex, no dashes) returned by open_websocket_session.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.