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
- Server Listing
- ws-mcp
Available Tools
5 toolsnexus_npm_package_ws_has_241560546_weekly_down_close_websocket_sessionAInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional UTF-8 close reason string, max 123 bytes per RFC 6455. | |
| session_id | Yes | 32-character session id of the session to close. | |
| status_code | No | WebSocket close status code per RFC 6455 (1000-4999). Defaults to 1000. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It discloses the permanent deallocation of the session_id, the sequence (send frame, wait for handshake, remove), and the return of a telemetry snapshot. No contradictions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise with three sentences: first states the action, second provides usage guidance, third adds a critical behavioral trait. No unnecessary words, well front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the schema coverage and presence of output schema, the description covers all essential aspects: core behavior, permanent deallocation, usage constraints, and return value. It is complete for a close operation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, and the schema already describes all three parameters with defaults and constraints. The description does not add new semantic details beyond the schema, so the baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action: sends a WebSocket close frame, waits for server handshake, removes session, and returns telemetry. It distinguishes from sibling tools (open, send, drain, inspect) by focusing specifically on closing a session.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to use ('when a session is no longer needed') and when not to use ('Do NOT use to temporarily pause a session'), with a clear reason (session_id is permanently deallocated).
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nexus_npm_package_ws_has_241560546_weekly_down_drain_ws_frame_bufferAInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| max_frames | No | Maximum number of buffered frames to return in a single call. | |
| session_id | Yes | 32-character session id of the open session to drain frames from. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are present, so the description must disclose all behavioral traits. It mentions non-real-time and that frames are annotated, but does not clarify if draining clears the buffer or other side effects like session state changes. This is partially informative but leaves some ambiguity.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, both front-loaded with key information. No wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (2 params) and presence of an output schema, the description covers purpose, usage, and basic behavior. It lacks details on return format but the output schema compensates. Could mention error conditions or session validity but overall sufficient.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema covers 100% of parameters with descriptions. The description adds no additional parameter-level detail beyond the schema, so baseline score of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool returns buffered inbound frames with entropy and validation info. It uses a specific verb-resource structure and contrasts with real-time streaming, distinguishing it from siblings like open_websocket_session.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says 'Use to poll for incoming messages without holding a blocking connection' and warns 'Do NOT use as a real-time streaming mechanism', providing clear when-to and when-not-to guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nexus_npm_package_ws_has_241560546_weekly_down_inspect_ws_session_telemetryAInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | 32-character session id of the session to inspect. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It implies read-only behavior by describing telemetry retrieval but does not explicitly state lack of side effects, required permissions, or behavior for invalid sessions. It does mention 'real-time' but lacks detail on rate limits or data staleness. Adequate but not thorough.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences with no wasted words. The first sentence front-loads the outputs, the second clarifies use cases, and the third provides a critical warning. Every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has an output schema (not shown), the description complements it by listing key telemetry measures. It covers diagnostic and liveness verification use cases, including a warning about misuse. For a simple inspection tool with one input, this is fully sufficient.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There is only one parameter (session_id) with 100% schema coverage. The schema already describes it as a 32-character session id. The tool description adds no additional semantic context beyond the schema, so the baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description starts with a specific verb 'Returns' and lists concrete telemetry items (connection state, frame counts, entropy, schema violation rate, uptime). It clearly identifies the tool's function and is distinct from sibling tools which perform close, drain, open, and send operations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to use the tool: 'diagnose whether a stream is diverging from its expected schema' and 'verify a session is still alive before sending'. It also provides a clear negative directive: 'Do NOT use as the primary liveness check in a tight loop.' This helps the agent choose correctly.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nexus_npm_package_ws_has_241560546_weekly_down_open_websocket_sessionAInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| target_url | Yes | Full WebSocket URL to connect to (must start with ws:// or wss://). | |
| connect_timeout_seconds | No | Maximum seconds to wait for the WebSocket handshake to complete. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses that the connection is persistent, registers in a stateful registry, returns a session_id, and warns against improper reconnection. This adds meaningful behavioral context, though it could mention failure behavior or resource cleanup implications, but it covers the essential traits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences, front-loaded with the core function, followed by usage context and an exclusion. Every sentence contributes value with no wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite no output schema, the description states the return of a session_id, distinguishes from reconnecting, and clearly situates the tool among siblings. For an open-connection tool, this is complete and actionable.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already covers 100% of the parameters with descriptions. The tool description does not add additional semantic meaning beyond what the schema provides, so the baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool 'Establishes a persistent WebSocket connection to a target URL and registers it in the stateful session registry,' using a specific verb and resource. It also distinguishes from siblings by noting it returns a session_id for subsequent operations and explicitly contrasts with reconnecting an existing session.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit guidance: 'Use when an agent needs to initiate a long-lived connection before sending or receiving frames' and 'Do NOT use to reconnect an already-open session -- call close_websocket_session first, or use the session_id of an existing session.' This names an alternative tool and gives clear when-to-use and when-not-to-use conditions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
nexus_npm_package_ws_has_241560546_weekly_down_send_typed_ws_frameAInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Frame payload. For binary frames, encode as hex and set frame_type to 'binary'. | |
| frame_type | No | Either 'text' or 'binary'. Determines wire encoding. | text |
| session_id | Yes | 32-character session id (uuid4 hex, no dashes) returned by open_websocket_session. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description carries the burden. It discloses that it returns an entropy delta, sends a single frame, and fails if session invalid. Missing details on side effects or performance, but adequate for a send operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences, front-loaded with the main action and return value. No extra words. Concisely covers usage, constraints, and failure modes.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that output schema exists, description need not detail returns. It covers input constraints, usage patterns, and failure conditions. Complete for agent decision-making.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% (baseline 3). The description adds value by specifying that payload for binary frames should be hex-encoded and frame_type set to 'binary'. This guidance goes beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool sends a single text or binary frame and returns the Shannon entropy delta. It distinguishes itself from siblings (open, close, drain, inspect) by focusing on sending data over an existing session.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says when to use: request-response patterns or publishing commands. Also tells when not to use: not for bulk sequences, call once per frame. Failure conditions are noted: session must exist and be in OPEN state.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
1 tool update
- Changed
nexus_npm_package_ws_has_241560546_weekly_down_open_websocket_session1 field changed- changed
Output schema / (root)Previous value: -{ - "additionalProperties": true, - "title": "open_websocket_sessionDictOutput", - "type": "object" -}New value: +null
5 tool updates
- First observed
nexus_npm_package_ws_has_241560546_weekly_down_close_websocket_session - First observed
nexus_npm_package_ws_has_241560546_weekly_down_drain_ws_frame_buffer - First observed
nexus_npm_package_ws_has_241560546_weekly_down_inspect_ws_session_telemetry - First observed
nexus_npm_package_ws_has_241560546_weekly_down_open_websocket_session - First observed
nexus_npm_package_ws_has_241560546_weekly_down_send_typed_ws_frame
Frequently Asked Questions
Claiming proves that you control a remote MCP connector. It does not move, proxy, or interrupt the server.
Open the connector listing, choose Claim ownership, and sign in to Glama.
Complete one verification method:
GitHub identity — fastest for official registry listings. For a namespace such as
io.github.alice/server, link the matching GitHub user, then choose Claim with GitHub. An organization namespace such asio.github.acme/serveralso needs that organization to have installed the Glama AI GitHub App and approved its permissions, because GitHub discloses organization membership only to apps it has installed. Use HTTP or DNS when it has not.HTTP challenge — works when you can deploy a public file. Generate a token, publish the exact JSON Glama shows at
/.well-known/glama.jsonon the same origin as the connector, then choose Check HTTP challenge.DNS challenge — works when you control DNS but cannot change the server. Generate a token, create the exact TXT record Glama shows, wait for it to propagate, then choose Check DNS challenge.
After verification, Glama sends a confirmation email and gives you access to listing details, thumbnails, health checks, and analytics. Keep the HTTP file or DNS record in place: Glama periodically checks it and ownership remains verified while the token is discoverable.
The HTTP ownership file has this structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"claim": "glama_claim_..."
}Claim tokens are opaque, stable, and bound to the signed-in Glama account. They contain no email address or other personal information. If Glama can no longer discover a verified HTTP or DNS token, it starts a seven-day grace period before removing claim-based access. Restore the same token during that period to keep ownership verified. Never publish an email address, Glama session token, GitHub token, or connector credential as ownership proof.
If verification fails, confirm that you copied the current token exactly. The HTTP file must be public, return valid JSON with a successful HTTP response, and stay on the connector's origin. DNS changes may need more time to propagate. A claim cannot transfer to a different origin or hostname: if the connector target changes, Glama starts the grace period and the new target must be claimed separately after the previous claim is released.
For a connector linked to the official MCP Registry, registry updates continue to replace its name, description, and URL by default. After claiming, open Manage connector and enable Use Glama listing details as the source of truth if edits made on Glama should be preserved. Categories and thumbnails are always managed on Glama; registry linkage and technical connection settings continue to sync.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
To improve your MCP server's ranking:
Claim ownership of the server listing
Complete the server profile with an accurate description and thumbnail
Provide a test profile so Glama can connect to and evaluate the server
Keep tool definitions clear and complete to earn a high Tool Definition Quality Score (TDQS)
Route real usage through the Glama Gateway; more recorded successful server uses also improve the ranking
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Connectors
Persistent memory and drift detection for AI agents across session restarts.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenancestateful MCP server with Redis sessions, event sourcing, and horizontal scaling1-
- FlicenseNot gradedqualityBmaintenanceEnables resilient real-time WebSocket streams with automatic heartbeat monitoring, reconnection, and state resynchronization for AI agents and MCP-compliant clients.8-
- AlicenseCqualityDmaintenanceA Model Context Protocol server implementation that enables real-time data communication between web pages and client applications through WebSocket connections.22,013MIT
- FlicenseAqualityDmaintenanceBridges Zustand stores over WebSocket, enabling MCP-capable AI to inspect and manipulate live application state.5-
Glama MCP Gateway
Add one secure layer between your agents and this server.
TDQS
Each tool targets a distinct action: open, close, drain, send, and inspect. There is no overlap in functionality.
The naming pattern after the long prefix is consistent verb_noun (e.g., open_websocket_session). However, the extremely long and repetitive prefix makes the full names unwieldy and could confuse agents.
5 tools cover the core WebSocket session lifecycle (open, close, send, receive, and inspect) without being excessive or insufficient.
The surface covers the basic CRUD operations for WebSocket sessions. The drain tool provides a polling mechanism for receiving frames, but a real-time streaming tool is missing, which could be a minor gap.