Skip to main content
Glama

Revoke key

jellyfin_revoke_key
DestructiveIdempotent

Revoke an API key from the Jellyfin server, with optional confirmation for destructive removal.

Instructions

Remove an api 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": {
      "key": "<key>"
    },
    "name": "jellyfin_revoke_key"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.9

TDQS

C2.7/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 safety semantics are covered elsewhere. The description adds nothing beyond the annotations — it doesn't say the key is irrecoverable once removed, whether it takes effect immediately for live sessions, or what happens on a non-existent key.

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?

A single short sentence with no filler and the operation front-loaded. It is efficiently written, though the brevity edges into under-specification rather than tight economy.

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, open-world mutation with no output schema and an undocumented required identifier, the definition leaves too much unspecified: irreversibility, effect on active clients, and the format of the `key` argument are all absent.

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 coverage is 50%: the `confirm` parameter is well documented in the schema, but `key` is a bare string. The description mentions "api key" but gives no clarification of whether the value is the key id, the key string, or the key name — the one gap it should fill.

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 ("Remove an api key") that cleanly separates it from the create-key sibling. It doesn't explicitly name the counterpart, but the operation is unambiguous from the verb.

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 guidance on when to revoke versus rotate or create, no prerequisites (e.g., admin elevation), and no warning about revoking a key currently in use by a client.

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