Skip to main content
Glama

Change a stream's URL

update_stream_url
DestructiveIdempotent

Use this only when the user asks to change the URL of a stream they already monitor. It replaces that stream's URL; recognition continues on the new URL under the same radio_id.

Input Schema

NameRequiredDescriptionDefault
urlYesStream URL (Icecast, HLS, DASH, m3u/m3u8, ...) or a shortcut: twitch:<channel name>, youtube:<video id>, youtube-ch:<channel id>
radio_idYesThe integer that identifies the stream on this account (see list_streams)

Output Schema

NameRequiredDescriptionDefault
updatedYes
radio_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already disclose the safety profile (destructiveHint=true, idempotentHint=true, openWorldHint=true), so the bar is lower. The description adds genuinely useful context beyond them: the old URL is replaced and recognition persists on the new URL under the same radio_id, which tells the agent the stream identity is preserved rather than recreated.

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?

Two tight sentences: the usage constraint is front-loaded and the behavioral consequence follows. No filler, and every clause carries information the agent needs.

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 two-parameter mutation with full schema coverage, an output schema (returns needn't be described), and annotations covering mutability and idempotency, the description covers usage and effect adequately. Minor gaps remain around the fate of the previous URL and any prerequisite state, but nothing critical to correct invocation 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%, so both radio_id and url are already documented (including URL formats and twitch:/youtube: shortcuts). The description ties them together by noting the URL is replaced while radio_id is retained, but adds no syntax or format detail beyond the schema. Baseline 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?

States a specific verb and resource (change a stream's URL) and pins the scope to a stream the user 'already monitor[s]', which implicitly separates it from add_stream and delete_stream. The second sentence clarifies what 'change' means operationally (URL swapped, recognition continues under the same radio_id).

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?

The phrase 'Use this only when the user asks to change the URL of a stream they already monitor' gives a clear triggering condition and an implicit exclusion (not for creating or removing streams). It stops short of naming the alternative sibling tool (add_stream) explicitly, so it lacks the full when-not/alternative routing of a 5.

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.

Resources