Skip to main content
Glama

Remove user from session

jellyfin_remove_user_from_session
DestructiveIdempotent

Removes an additional user from a specified Jellyfin session using session and user IDs.

Instructions

Removes an additional user from a session.

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": {
      "session_id": "<session_id>",
      "user_id": "<user_id>"
    },
    "name": "jellyfin_remove_user_from_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoExplicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt.
user_idYes
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.9

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the description's one sentence adds essentially nothing beyond the title. It does not disclose what happens to the removed user (e.g. whether playback is interrupted), what error conditions exist, or the fact that a confirm flag is required when the client cannot prompt — a notable omission for a destructive operation.

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

Conciseness3/5

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

The single sentence is front-loaded and free of padding, so it is concise in the literal sense. However, at seven words for a destructive three-parameter tool it is under-specified rather than efficient — the brevity costs information rather than saving it.

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

Completeness2/5

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

For a destructive mutation with no output schema and two undocumented required parameters, the description should explain the confirm workflow and the effect on the affected user. Neither is present, leaving gaps that neither the annotations nor the schema fill.

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 only 33%: user_id and session_id have no schema descriptions, and the description does not compensate by explaining the ID format or the distinction between the user being removed and the session owner. Only the confirm parameter carries meaning, and that comes from the schema, not the description.

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 and resource: removes a user from a session. The word 'additional' signals a multi-user session context, which distinguishes it somewhat from the inverse sibling jellyfin_add_user_to_session, but no sibling is named explicitly and the reader must infer the primary-vs-additional distinction.

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?

There is no when-to-use guidance, no prerequisite stating that the session must exist or that the caller needs admin rights, and no mention of the obvious alternative (jellyfin_add_user_to_session) or of what to do instead when the user is the session's primary owner. The agent is left to infer all call conditions.

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