Skip to main content
Glama

Delete a broadcast

delete_broadcast
DestructiveIdempotent

Move a broadcast to the trash: its public link and stream addresses stop working for listeners. Use: a broadcast that will not run again. For 30 days update_broadcast with restore true brings it back with the same link (list_broadcasts with lifecycle archived lists the trash); after that the broadcast is erased for good. Ending a live run: update_broadcast with onAir false. Arguments: broadcastId only, from list_broadcasts or start_broadcast, upper or lower case. A transcriptionId is not_found (delete_transcription removes a recording); the short code in the link is invalid_options. Example: {broadcastId: "0190f0e0-7c1a-7d3e-9b2a-5f4e3d2c1b0a"}. Behaviour: free, and a soft delete: nothing is erased for 30 days, and one already in the trash is left as it is, so a retry is safe. At once every connected listener is signed out. A broadcast on air is refused: end its run first (update_broadcast with onAir false). The transcriptions it recorded are not deleted: while it is in the trash they leave list_transcriptions and search_transcriptions, get_transcription still reads them by id, and delete_transcription deletes one. Restoring (update_broadcast with restore true) brings back the same link and broadcastId, its settings and its transcriptions; listeners get back in by opening the link again (with the same listener code when private). Gives rate_limited (with retryAfterS) past 600 calls a minute per API key. Returns: broadcastId, name, deleted true, deletedAt, restorableUntil. Errors: invalid_state while on air; not_found for an unknown broadcastId; invalid_options for something that is not a UUID; forbidden for a read-only key.

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": {
      "broadcastId": "<broadcastId>"
    },
    "name": "delete_broadcast"
  }
}

Input Schema

NameRequiredDescriptionDefault
broadcastIdYesA broadcastId from list_broadcasts or start_broadcast, of a broadcast that is not on air.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructive, idempotent and non-read-only, and the description still adds substantial context: a 30-day soft delete with restorableUntil, safe retry against an already-trashed broadcast, immediate sign-out of connected listeners, refusal while on air, and preserved transcriptions still reachable via get_transcription. It also discloses the 600 calls/minute rate limit and the read-only key restriction.

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?

Long but front-loaded and organized into Use / Arguments / Behaviour / Returns / Errors, so an agent can scan to what it needs. There is mild redundancy — the 30-day soft delete and the restore-brings-back-the-same-link point are each stated twice — which costs it the top score.

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

Completeness5/5

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

For a destructive single-parameter tool with no output schema, the definition covers lifecycle (archive to permanent erasure), the returned fields, and every error state including invalid_state, not_found, invalid_options and forbidden. An agent has everything needed to call it correctly and to explain the outcome.

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

Parameters5/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds genuine meaning: where to get the id (list_broadcasts or start_broadcast), case insensitivity, and crucially tells the agent that a transcriptionId yields not_found while a short link code yields invalid_options. That distinction is not derivable from the schema.

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 ("Move a broadcast to the trash") plus the concrete effect on listeners (public link and stream addresses stop working). This clearly separates it from update_broadcast, which the description repeatedly identifies as the tool for ending or restoring a run.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit "Use: a broadcast that will not run again" scopes the tool, and it names the alternatives with their conditions: update_broadcast with restore true to undo, update_broadcast with onAir false to end a live run, and delete_transcription for recordings. Nothing is left to inference about when to choose a sibling.

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.