Skip to main content
Glama

Add Show By Tvdb Id

add_show_by_tvdb_id

Add a specific TV show to Sonarr by providing its TVDB ID and title, optionally setting a root folder path for storage.

Instructions

Add a specific TV show to Sonarr using its TVDB ID.

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": {
      "tvdb_id": "<tvdb_id>",
      "title": "<title>"
    },
    "name": "add_show_by_tvdb_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesThe title of the show
tvdb_idYesThe TV Database ID for the show
root_folderNoOptional root folder path (e.g., "/storage/anime")

Output Schema

NameRequiredDescriptionDefault
messageYes
successYes
media_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.2
    • addedInput schema / properties / root_folder / description
      Added value: +"Optional root folder path (e.g., \"/storage/anime\")"
    • addedInput schema / properties / title / description
      Added value: +"The title of the show"
    • addedInput schema / properties / tvdb_id / description
      Added value: +"The TV Database ID for the show"
  2. Changed8 schema fields changedv0.1.1
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / root_folder / title
      Removed value: -"Root Folder"
    • removedInput schema / properties / title / title
      Removed value: -"Title"
    • removedInput schema / properties / tvdb_id / title
      Removed value: -"Tvdb Id"
    • removedOutput schema / properties / media_id / title
      Removed value: -"Media Id"
    • removedOutput schema / properties / message / title
      Removed value: -"Message"
    • removedOutput schema / properties / success / title
      Removed value: -"Success"
    • removedOutput schema / title
      Removed value: -"AddMediaResponse"
  3. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Annotations only declare readOnlyHint=false, so the description must carry the behavioral burden for a mutation tool. It says nothing about what happens on a duplicate TVDB ID, whether root_folder defaults to a server-configured path, what permissions or Sonarr connectivity are required, or whether the add triggers a search; only the mutation intent is conveyed.

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 front-loaded sentence with no filler or redundancy. It is efficient, though it is arguably too lean for a mutation tool rather than padded.

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?

The output schema covers return values and all three parameters are described, so the definition is structurally complete. What is missing is routing guidance against search_and_add_show and any side-effect disclosure for a write operation, leaving the description only minimally adequate for its complexity.

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?

Schema description coverage is 100%, so title, tvdb_id, and the optional root_folder are already documented in the schema, including the folder path example. The description adds only the framing that tvdb_id is the lookup key, which is the baseline expectation when the schema does the heavy lifting.

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 uses a specific verb and resource ("Add a specific TV show to Sonarr") and names the key identifier (TVDB ID), so an agent immediately understands the action. It does not explicitly contrast itself with siblings like add_movie_by_id or search_and_add_show, so differentiation is left implicit.

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

Usage Guidelines3/5

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

The phrase "using its TVDB ID" implies the precondition that the caller already knows the show's TVDB ID, which in turn implies search_and_add_show is the path when it doesn't. However, no alternative tool or when-not-to-use condition is stated explicitly, so guidance remains inferred rather than declared.

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