Skip to main content
Glama

Post remotepathmapping

sonarr_post_remotepathmapping

Adds a new remote path mapping in Sonarr so download client paths resolve to the correct local media paths.

Instructions

Add a new remotepathmapping.

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": {
      "data": "<data>"
    },
    "name": "sonarr_post_remotepathmapping"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, and destructiveHint=false, which the description neither contradicts nor extends. It says nothing about whether duplicate remote paths are rejected, what permissions are needed, or what the required nested `data` body must contain, so it adds zero behavioral value over the structured metadata.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short, front-loaded sentence with no filler or redundancy; it is appropriately sized but its brevity comes at the cost of substance rather than from efficient compression of real information.

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

Completeness1/5

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

For a create/mutation tool taking an opaque nested body with no output schema and no annotations beyond hints, the definition omits everything an agent needs to invoke it correctly: body shape, required field names, uniqueness behavior, and success/error semantics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single required parameter `data` is a free-form nested object with additionalProperties=true and 0% schema description coverage, and the description provides no indication of which fields (host, remotePath, localPath, etc.) it expects. This is the exact case where the description must compensate for an empty schema, and it does not.

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

Purpose2/5

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

"Add a new remotepathmapping" merely restates the name (post = add) and title; it never explains what a remote path mapping is or how a mapping differs from a download client or indexer config. An agent can infer that a new resource is created, but nothing about the resource's meaning is conveyed.

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 guidance on when to create versus update (sonarr_put_remotepathmapping_id) or read (sonarr_get_remotepathmapping) an existing mapping, nor any prerequisites such as whether the remote and local path must correspond to an existing download client. At most, "Add a new" weakly implies creation of a not-yet-existing entry.

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