Skip to main content
Glama
sonarr-mcp

sonarr-mcp

by OrellBuehler

update_custom_format

Idempotent

Modify an existing Sonarr custom format by submitting the complete fetched object with your changes. Use it to revise format specifications and scoring while keeping the format ID.

Instructions

Update a custom format. Fetch it first and send the whole object back.

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": {
      "id": "<id>",
      "custom_format": "<custom_format>"
    },
    "name": "update_custom_format"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCustom format id
custom_formatYesFull custom format object including id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / custom_format / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / id / exclusiveMinimum
      Added value: +0
    • addedInput schema / properties / id / maximum
      Added value: +9007199254740991
    • changedInput schema / properties / id / type
      Previous value: -"number"New value: +"integer"
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false. Beyond that, the description discloses the important behavioral trait that the operation is a whole-object replacement requiring a prior read — something an agent would otherwise wrongly assume is a partial patch. It omits permission requirements and failure behavior.

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, zero filler, with the action stated first and the required workflow immediately after. Nothing could be removed without losing meaning.

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 two-parameter, no-output-schema mutation with a nested free-form object payload, the definition supplies the essential precondition (read before write) and payload expectation. Minor gaps remain around validation rules and whether unset fields are cleared, but the core is complete.

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 the schema already describes custom_format as a "Full custom format object including id", so the description's remark adds reinforcement rather than new semantics. It usefully implies full-replacement rather than patching, but gives no detail on how id and the embedded object id must align.

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 names a specific verb and resource ("Update a custom format"), and the sibling set makes clear this is the mutation counterpart to create/get/delete_custom_format. It stops short of explicitly contrasting itself with a create/partial-update alternative, so it is clear but not maximally differentiated.

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?

"Fetch it first and send the whole object back" prescribes a concrete two-step workflow (call get_custom_format, then submit), which is exactly the guidance a caller needs for a full-replacement update. It does not state any when-not conditions or note what happens if the object is incomplete, but for an update tool the usage context is well covered.

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