Skip to main content
Glama

Update stream details

update_stream
DestructiveIdempotent

Change the title, description, access mode or paid access (is_paid, price in USD; needs a payout gateway connected by the user, otherwise NO_PAYOUT_GATEWAY; outside get_account saleBounds: 400 PRICE_BELOW_PLAN_MIN or PRICE_ABOVE_PLAN_MAX) of a stream card of the connected account. Access modes as in create_stream. To protect a stream with a password send visibility ACCESS_KEY together with access_key; to change the password of a stream that is already ACCESS_KEY send access_key alone (viewers who entered the old password are asked again). Moving to another mode removes the password. Switching to a narrower mode (PRIVATE, REGISTERED, ACCESS_KEY) takes effect for viewers who open the stream afterwards. Confirm a change of access mode or password with the user.

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": {
      "stream_id": "<stream_id>"
    },
    "name": "update_stream"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceNoPrice in USD; null clears it
titleNoNew title
is_paidNotrue makes watching the stream paid (the DCAST player runs the paywall), false makes it free
stream_idYesStream id
access_keyNoThe password viewers must enter. Send it with visibility ACCESS_KEY, or alone on a stream that is already ACCESS_KEY to change it. Refused for any other mode.
visibilityNoAccess mode; the five modes are listed in create_stream
descriptionNoNew description
keep_recordingNofalse: the recording is deleted when the broadcast ends; not while live. Confirm first.
show_live_viewersNotrue: the player shows the watching-now count
hide_live_seek_barNotrue: no seek bar for viewers while live

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the destructiveHint/idempotentHint annotations: it names concrete failure codes (NO_PAYOUT_GATEWAY, PRICE_BELOW_PLAN_MIN, PRICE_ABOVE_PLAN_MAX) tied to saleBounds from get_account, and explains the viewer-visible consequence that old passwords stop working and that narrower modes only apply to viewers who open the stream afterwards.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the mutable field set, then the conditional password and mode rules, then the confirmation safeguard. Dense but every clause carries information; the inline parenthetical error codes make one sentence heavy but do not waste space.

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

Completeness3/5

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

For a 10-parameter destructive mutation with no output schema, the access-mode and pricing story is complete, but keep_recording — which deletes the recording on broadcast end — is never mentioned in the description despite being a data-losing flag on an already destructive tool. The two player-display flags are also left entirely to the schema.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: the price validity envelope is anchored to saleBounds from get_account with the exact error codes for violations, and it explains the interaction rules between visibility and access_key that the schema only states in isolation. It does not touch keep_recording, show_live_viewers, or hide_live_seek_bar, which the schema has to carry alone.

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?

States a specific verb (change) and resource (stream card of the connected account) and enumerates the mutable fields: title, description, access mode, paid access. It only gestures at separation from siblings by referencing create_stream for access-mode definitions, so an agent still infers rather than reads the create-vs-update boundary.

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?

Gives precise conditional instructions: send visibility ACCESS_KEY with access_key to set a password, send access_key alone to change it on an already-ACCESS_KEY stream, moving modes removes the password. Also tells the agent to confirm mode/password changes with the user. It never names an alternative tool to use instead (e.g., create_stream for new cards), so it stops short of full when-not/alternative guidance.

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.