Skip to main content
Glama

Get rootfolder id

sonarr_get_rootfolder_id
Read-onlyIdempotent

Retrieves a Sonarr root folder by ID so callers can inspect its path and settings before configuring library storage.

Instructions

Get specific rootfolder.

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>"
    },
    "name": "sonarr_get_rootfolder_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that: no note on error behavior for an unknown id, no indication of what a "rootfolder" record contains, nothing that structured fields don't already say.

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?

It is a single short sentence with no filler, which is structurally fine. Brevity here reflects under-specification rather than tight, informative writing.

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?

The tool is simple (one integer param, read-only, no output schema), yet the description leaves an agent without the essentials: what is retrieved, by which key, and how to obtain that key. Rich annotations cover safety but not retrieval semantics.

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

Parameters2/5

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

The single required parameter "id" has 0% schema description coverage, so the description is the only place meaning could be added — and it adds none. It does not state that the id is a root folder id, whether it must be an existing record, or how it is obtained (e.g., from sonarr_get_rootfolder).

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?

"Get specific rootfolder" essentially restates the tool name (get_rootfolder_id) without adding a distinguishing verb+resource statement. It never says the lookup is keyed by an identifier, nor how that differs from the sibling sonarr_get_rootfolder, which presumably lists root folders.

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 when-to-use guidance and no mention of alternatives, despite a surrounding family of rootfolder siblings (get_rootfolder, post_rootfolder, delete/put by id). The agent must infer from the name alone that this fetches a single record when the id is already known.

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