Skip to main content
Glama

get_websocket_credentials

Read-only

Retrieve the Wings WebSocket URL and JWT token for a specified server to enable live console streaming.

Instructions

Get the Wings WebSocket URL and JWT token for live console streaming.

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": {
      "server_id": "<server_id>"
    },
    "name": "get_websocket_credentials"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYesShort server identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

The readOnlyHint=true annotation already tells the agent this is a safe read, and the description is consistent with that. It usefully discloses the two returned artifacts (URL and token), which goes slightly beyond the annotations, but says nothing about token lifetime, sensitivity, or whether the token must be refreshed, which matters for a credential-issuing call.

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?

One front-loaded sentence that states the return values and the use case with zero filler. Nothing in it is redundant or misplaced.

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

Completeness4/5

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

For a simple single-parameter read tool with no output schema, the description covers what is returned (URL plus JWT) and why. The only shortfall is the lack of any note on credential validity or the need to reconnect when the token expires.

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 description coverage is 100% on the single server_id parameter, so the schema already carries the parameter meaning. The description adds no additional detail about the identifier format or what happens with an invalid server_id, so the baseline of 3 applies.

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 concrete verb and a very specific resource pair (Wings WebSocket URL and JWT token), so an agent knows exactly what it retrieves. The phrase 'for live console streaming' loosely separates it from log-retrieval siblings like get_console_logs, but no alternative is named, keeping it short of full sibling differentiation.

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

Usage Guidelines3/5

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

Usage is only implied by the phrase 'live console streaming' - the agent can infer this is the way to establish a live console connection, but there is no explicit when-to-use or when-not-to-use statement. It never mentions the alternative of get_console_logs for historical output or states any prerequisites.

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