Skip to main content
Glama

Stream.Telemetry

stream.telemetry
Read-onlyIdempotent

Live snapshot of a streaming session: latest prediction + recent window, signal quality (meanChannelQuality, snrDb, artifactProbability), indicators, running stats. Poll this while a session runs. Works with OR without a deployed model: modelless hardware streams (no classifier) report live signal quality + focus/relaxation band-power indicators with latestPrediction null; deployed sessions additionally carry predictions and confidence stats. Expect low confidence during filter/ASR warm-up (first seconds); quality < 0.5 or high artifactProbability means the signal is poor. 404 => session not active in this backend. Each poll also feeds the idle watchdog (see stream.start's idle_timeout_sec), keeping an actively watched session alive.

Input Schema

NameRequiredDescriptionDefault
windowNoHow many recent predictions/chunks to include (default 50).
session_idYesThe streaming session to read telemetry for.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description goes well beyond them: the non-obvious side effect that each poll feeds the idle watchdog and keeps the session alive, the 404 meaning, modelless vs deployed behavior (latestPrediction null), and warm-up confidence caveats with quality/artifact thresholds. These are behavioral traits an agent could not infer from structured fields.

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?

The core definition is front-loaded in the first clause, and every subsequent sentence adds a distinct operational fact (modelless mode, warm-up, quality thresholds, 404, watchdog). No sentence is filler or restates the name.

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

Completeness5/5

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

With an output schema present, return values need not be re-described, and the description still covers the states an agent must handle: no-model sessions, warm-up, poor-signal thresholds, inactive-session 404, and the watchdog side effect. Nothing needed to invoke or interpret it is missing.

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% and both parameters are documented in the schema, so the schema carries the load. The description adds no extra semantics for session_id or window (e.g. valid ranges or cost of a large window), which is the expected baseline of 3.

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

Purpose5/5

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

The description names a specific verb (poll/read) and resource (live streaming-session telemetry) and enumerates exactly what is returned: latest prediction, recent window, signal quality metrics, indicators, running stats. That content spec is specific enough that an agent can distinguish it from stream.status or stream.start without opening a schema.

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

Usage Guidelines4/5

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

It states clearly when to use it ('Poll this while a session runs'), the precondition that it works with or without a deployed model, and the failure condition ('404 => session not active in this backend'). It does not explicitly contrast itself with the sibling stream.status for session-level metadata, so the routing guidance is strong but not fully explicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.