Skip to main content
Glama
sonarr-mcp-server

sonarr-mcp-server

by slate63

Mark a grab as failed

sonarr_mark_history_failed

Mark a grabbed Sonarr history item as failed to blocklist that release and trigger another search if enabled.

Instructions

Mark a 'grabbed' history item as failed. Sonarr blocklists that release and, if enabled, searches for another.

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": {
      "historyId": "<historyId>"
    },
    "name": "sonarr_mark_history_failed"
  }
}

Input Schema

NameRequiredDescriptionDefault
historyIdYesHistory record ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Goes meaningfully beyond the annotations by disclosing the two real side effects: the release is blocklisted and, if that setting is enabled, a replacement search fires. This is exactly the operational context an agent needs before mutating state. It does not mention reversibility of the blocklist entry or error behavior on an invalid state, so it falls short of 5.

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 short sentences: the action first, then the consequences. No filler, no restating of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter mutation with no output schema, the description covers the essential unknown (automated blocklist plus optional search). Only the failure/precondition semantics are left unstated, which is a minor gap given the tool's simplicity.

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?

The single historyId parameter is fully described in the schema ('History record ID', integer > 0), and the description adds nothing about it. With 100% schema coverage the baseline of 3 applies.

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?

States a specific verb and resource ('Mark a grabbed history item as failed') and names the precondition state ('grabbed'), which separates it from read-only history siblings such as sonarr_get_history. It stops short of naming which sibling to use if the item is not in a grabbed state.

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 quoted 'grabbed' implies the item must currently be in that state, giving implicit when-to-use guidance, but there is no explicit statement of when not to use it, what other tools exist for other states, or what happens if the ID refers to a non-grabbed record.

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