Skip to main content
Glama
rollecode

Sonarr MCP server

by rollecode

create_notification_action_by_name

Idempotent

Trigger a specific notification action by name to send alerts or execute custom notifications in Sonarr.

Instructions

Create Notification.

POST /api/v3/notification/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

B3.2/5.0
Behavior3/5

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

Annotations already provide idempotentHint=true, readOnlyHint=false, and destructiveHint=false, and the description's 'Create Notification' is consistent with those. The description adds little behavioral detail beyond what annotations already convey, but it does not contradict them.

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 concise and front-loaded with a clear action. The endpoint and argument notes are relevant, and the text avoids unnecessary filler.

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?

For an open-ended create operation with a body object that allows arbitrary properties, the instruction to read the matching GET or /schema endpoint is necessary and provided. Missing is any explanation of what 'action/{name}' means or when this variant differs from create_notification, which would help an agent invoke it correctly.

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 must compensate; it does so for body by directing the agent to consult the matching GET or /schema endpoint for the expected fields, which is important since body has additionalProperties=true. The name parameter, however, is only called a path parameter, adding no semantic meaning beyond the schema's title.

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 opens with a clear verb and resource ('Create Notification') and provides the endpoint path, making the action unambiguous. However, it does not explicitly differentiate this tool from siblings like create_notification or create_notification_test, so the 'action_by_name' variant is not fully distinguished.

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 description gives no explicit guidance on when to use this tool instead of create_notification or create_notification_test. The only practical instruction, to read the matching GET or /schema endpoint before supplying the body, concerns payload preparation rather than tool selection.

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