Skip to main content
Glama
sonarr-mcp-server

sonarr-mcp-server

by slate63

Search for a series to add

sonarr_lookup_series
Read-onlyIdempotent

Search TheTVDB via Sonarr for TV series by name or TVDB/IMDb ID, returning the tvdbId and library status needed to add or check series.

Instructions

Search TheTVDB (via Sonarr) for series by name, or by ID using 'tvdb:' / 'imdb:'. Returns tvdbId (needed by sonarr_add_series) and whether each result is already in the library.

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": {
      "term": "<term>"
    },
    "name": "sonarr_lookup_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
termYesSeries name, or 'tvdb:12345' / 'imdb:tt1234567'
limitNoMax results

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open world), and the description usefully adds that data comes from an external source, TheTVDB, plus what each result contains (tvdbId and an already-in-library flag). It doesn't discuss rate limits, result ordering, or error behavior on unmatched IDs.

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

Conciseness5/5

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

Two sentences, zero waste, with the source and lookup modes front-loaded and the return-value reason for using it stated second. Every clause carries information an agent needs.

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 two-parameter read-only search with no output schema, the description covers source, input formats, key return fields, and the downstream handoff. Nothing essential to correct invocation is missing.

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 coverage is 100% and both parameters are documented in the schema, including the 'tvdb:<id>'/'imdb:<id>' prefix syntax. The description restates that syntax and adds no further meaning about the limit parameter, so baseline 3 applies.

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?

The description gives a specific verb and resource ('Search TheTVDB ... for series') and states both lookup modes, name or prefixed ID. It also names the downstream consumer (sonarr_add_series), which distinguishes it from series-retrieval siblings like sonarr_get_series.

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

Usage Guidelines4/5

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

Usage is clearly implied: use this lookup when you need a tvdbId to pass to sonarr_add_series, and it tells you the results also indicate library membership so you can avoid duplicates. It stops short of explicit when-not-to-use guidance versus siblings such as sonarr_get_series or sonarr_search_series.

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