Skip to main content
Glama

delete_livetv_sessions_by_session_id

DestructiveIdempotent

Delete an active Live TV session on Plex by providing its session ID to stop playback and free up resources.

Instructions

Delete Live TV Session.

DELETE /livetv/sessions/{sessionId}

Args: session_id: The session id

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description's 'Delete' is consistent with them. However, the description adds no behavioral context such as consequences for the session, whether viewers are disconnected, or any prerequisites, so it contributes nothing beyond the annotations.

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?

The description is brief and front-loaded, with the action and endpoint in the first two lines. The Args block is somewhat redundant with the schema, but the overall size is appropriate for a simple one-parameter tool.

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 single-parameter destructive delete with annotations and an output schema, this is minimally viable: it states the action, endpoint, and parameter. However, it lacks guidance on when to use it, what the deletion does to active sessions, and any side effects, leaving notable gaps for an agent.

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

Parameters2/5

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

Schema description coverage is 0%, so the description needed to compensate, but it only repeats the schema ('session_id: The session id'). The URL path does clarify that session_id is a path parameter, but no format, source, or guidance for finding a valid Live TV session id is given.

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?

The description clearly states 'Delete Live TV Session' and includes the DELETE /livetv/sessions/{sessionId} endpoint, giving a specific verb and resource. It does not explicitly distinguish itself from sibling tools like get_livetv_sessions_by_session_id, but the delete action is unambiguous from the name and first sentence.

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

Usage Guidelines2/5

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

No guidance is provided about when to use this tool versus alternatives. There is no mention of related session tools, when deletion is appropriate, or any exclusions, so an agent receives no routing help beyond the verb in the name.

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

Deploy Server

Other Tools