Skip to main content
Glama

End a live broadcast

end_stream
DestructiveIdempotent

Stop the live broadcast of a stream for viewers. The stream card stays and can be used again.

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": "end_stream"
  }
}

Input Schema

NameRequiredDescriptionDefault
stream_idYesStream id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true, and readOnly=false, so the safety profile is largely covered. The description adds valuable behavioral context by clarifying that the stream itself persists and can be reused, limiting the apparent scope of the destructive action.

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 short sentences, front-loaded with the action and followed by the important persistence detail. There is no redundant or filler wording.

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 one-parameter broadcast-control tool with annotations covering safety and idempotency, the description supplies the key outcome and persistence behavior. Minor gaps such as prerequisites or viewer-side effects are acceptable given the low complexity and structured fields.

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?

The single stream_id parameter is fully documented in the schema with type, length, pattern, and description. The tool description adds no additional meaning about the identifier, so the baseline score of 3 is appropriate when schema coverage is 100%.

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 uses a specific verb ("Stop") and resource ("live broadcast of a stream") and clarifies the outcome that the stream card remains reusable. This distinguishes it from delete-oriented siblings without requiring the agent to inspect other schemas.

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 description makes the use case clear: ending a live broadcast for viewers while preserving the stream card. The "card stays and can be used again" clause implicitly contrasts with deletion, but it does not explicitly name delete_stream or state when deletion would be preferred.

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.