Skip to main content
Glama
rollecode

Sonarr MCP server

by rollecode

create_importlist_action_by_name

Idempotent

Create a new import list action in Sonarr by providing its name and request payload, enabling automated addition of media from external sources.

Instructions

Create ImportList.

POST /api/v3/importlist/action/{name}

Args: name: Path parameter. body: Request payload. Read the matching GET or the /schema endpoint first to see the fields this resource expects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes
nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already indicate this is not read-only, is idempotent, and is not destructive, so the description does not contradict them. However, it adds no behavioral context beyond 'Create' and the HTTP method — it does not disclose what the action does, what side effects occur, or what happens to existing data. With annotations present, the bar is lower, but the description still contributes little behavioral insight.

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 short and front-loaded: purpose, endpoint, then parameter notes. There is no filler or redundancy. It is concise, though its brevity comes at the cost of semantic richness.

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?

The tool has an output schema and annotations, but the description still fails to clarify the actual operation ('action by name'), the meaning of the name parameter in context, and the relationship to sibling importlist tools. For an action endpoint with a dynamic body, the description is too incomplete for an agent to select and invoke it confidently.

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 0%, so the description must compensate. It does add some meaning: 'name' is identified as a path parameter and 'body' as a request payload, plus a pointer to the schema/GET endpoints for expected fields. Yet the body remains an opaque additionalProperties object and no actual field semantics are described, leaving the agent dependent on external lookups.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase 'Create ImportList' states a verb and resource, so the basic action is visible. However, it is too generic: the tool name includes 'action_by_name' and the endpoint is /importlist/action/{name}, but the description does not explain what 'action' means or how this differs from create_importlist, create_importlist_test, or create_importlist_testall.

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?

The only usage guidance is 'Read the matching GET or the /schema endpoint first to see the fields this resource expects,' which is a useful prerequisite but not selection guidance. There is no statement about when to use this tool versus sibling create/list/update/delete importlist tools, and no exclusions or alternatives are mentioned.

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