Skip to main content
Glama

get_stream_stats

Retrieve live stream health metrics, including online status, active subscribers, processed messages, per-source counts, and throughput rates.

Instructions

Get live stream health: online status, active subscriber count, total messages processed, per-source message counts and throughput rates.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_stream_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations and no output schema, the description carries the full disclosure burden, and it does useful work by listing exactly which metrics come back, which is the main behavioral fact an agent needs. However, it says nothing about read-only safety, data freshness/live-vs-cached semantics, or result shape (flat object vs. per-source breakdown). The 'live' qualifier hints at real-time but is never explained.

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?

A single sentence with the resource stated first and the metric list following, no filler or restatement of the tool name. Every clause enumerates a distinct returned value, so nothing is wasted.

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 zero-parameter read tool with no output schema and no annotations, the description covers the essential gap by enumerating the returned fields. What remains thin is orientation against the many sibling tools and any note on result structure or freshness, which matters given the 'live' framing.

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

Parameters4/5

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

The tool takes zero parameters, so there is no parameter semantics to document; the baseline of 4 applies. The description adds no parameter noise and does not imply hidden required inputs.

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 specific verb ('Get') and resource ('live stream health') and then enumerates the concrete metrics returned: online status, active subscriber count, total messages processed, per-source counts, and throughput rates. That makes the tool's scope unmistakable. It stops short of 5 because it never distinguishes itself from plausible siblings such as check_health or get_recent_data.

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?

There is no statement of when to use this tool, when not to, or which sibling to prefer for overlapping needs like health checks (check_health) or recent activity (get_recent_data). The only guidance is implied by the word 'stats' in the name. An agent must infer the selection criteria entirely.

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