Skip to main content
Glama
rollecode

Sonarr MCP server

by rollecode

create_login

Idempotent

Authenticate to the Sonarr server by submitting credentials to the login endpoint, enabling secure access to manage media libraries.

Instructions

Create Authentication.

POST /login

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes
return_urlNo

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?

The annotations already convey that this is a non-read-only, idempotent, non-destructive operation, and the description adds no behavioral details beyond that. It does not disclose whether an existing session is replaced, whether credentials are required in the body, or what side effects (e.g., issuing an authentication token) occur.

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 compact and logically structured: a one-line summary, the endpoint, then argument descriptions. It contains no filler, though the brevity is achieved by leaving important behavioral and usage context out.

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 login/authentication tool, the description omits the most important context: what the agent should do with the result, whether authentication is required for subsequent calls, and how this relates to the logout/login sibling tools. Output schema existence covers return values, but the missing operational context makes the tool hard to use correctly in a broader workflow.

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?

With 0% schema description coverage, the description partially compensates by explaining that body is a request payload whose expected fields must be discovered from the matching GET or /schema endpoint. return_url, however, is only called a 'Query parameter', which adds location but not its meaning or purpose.

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 description opens with 'Create Authentication.' and gives the endpoint 'POST /login', which identifies the operation as creating an authentication/login resource. However, it never explains what 'authentication' means in practice (e.g., logging in, receiving a session/token), so the purpose remains somewhat vague and weakly differentiated from the abstract create_* pattern in the sibling list.

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 explicit statement of when to call this tool versus alternatives like list_login or list_logout. The only guidance is to read the matching GET or /schema endpoint before supplying the body, which is parameter preparation rather than usage context for choosing the tool.

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