Skip to main content
Glama
kotty-radio-mcp
by garrapato

Stop a stream

stop_stream
DestructiveIdempotent

Ends an active radio playback session started with play_station, notifies connected players that playback ended, disconnects them, and invalidates the session's WebSocket URL.

Instructions

Stop a playback session started with play_station: connected players receive {type:"ended"} and are disconnected, and the wsUrl stops working.

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": {
      "sessionId": "<sessionId>"
    },
    "name": "stop_stream"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionIdYessessionId returned by play_station

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered; the description goes beyond them by naming the concrete side effects — connected players receive {type:"ended"} and are disconnected, and the wsUrl stops working. That is exactly the 'what gets destroyed' disclosure that lets an agent judge downstream impact before invoking.

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 front-loaded sentence: the action comes first, then the effects in priority order (client notification, disconnection, URL invalidation). No boilerplate or redundant restatement of the title.

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 one-parameter destructive tool with full schema coverage, binding annotations, and no output schema, the definition covers the essentials: what it stops, what breaks as a result, and which tool created the session. It leaves error behavior for an unknown or already-ended sessionId unstated, but idempotentHint partially covers that.

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 coverage is 100% and the schema already documents sessionId as 'sessionId returned by play_station', including a UUID pattern. The description only reinforces the play_station linkage and adds no new format, provenance, or edge-case meaning, so the baseline of 3 applies.

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?

Specific verb+resource ('Stop a playback session') paired with the exact sibling that creates such a session ('started with play_station'), so the agent knows both the action and the lifecycle pairing. It is unambiguously distinguishable from play_station, now_playing, and the list/search tools.

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?

Usage context is clear and explicit: this is the terminating counterpart to play_station, so an agent knows to call it to end a session it previously started. There is no explicit exclusion or statement about what to do if the session is already ended or invalid, which keeps it from a 5.

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