Skip to main content
Glama

Get qualitydefinition id

sonarr_get_qualitydefinition_id
Read-onlyIdempotent

Retrieves a Sonarr quality definition by its numeric ID so agents can inspect how a profile defines allowed media qualities before updating or comparing settings.

Instructions

Get a specific quality definition by ID.

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_qualitydefinition_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered elsewhere. The description adds nothing beyond that: no behavior for an unknown ID (error vs empty), no note on whether the returned definition is a global/system-level resource, and no freshness or caching context. It effectively restates the annotation-covered read semantics.

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?

A single front-loaded sentence with no filler, hedging, or redundancy. Every word earns its place, and the resource and lookup key are stated immediately.

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, read-only lookup with full annotation coverage and no output schema, the description is nearly sufficient: the agent knows what it retrieves and by what key. The remaining gap is unspecified failure behavior and how to obtain a valid ID, which is modest given the tool's low complexity.

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 schema has one undocumented integer parameter at 0% coverage, and the description partially compensates by stating the ID identifies a specific quality definition. It gives no format, range, or provenance guidance for where such an ID is obtained, so the compensation is minimal but real.

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 states a specific verb ('Get') and resource ('quality definition') and adds the 'by ID' qualifier, which distinguishes it from the list-style sibling sonarr_get_qualitydefinition and from the put variants. It stops short of naming or contrasting any sibling explicitly, so it lands at clear-but-undifferentiated rather than a 5.

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, no statement of prerequisites, and no mention of alternatives such as the collection endpoint or the update endpoint. The agent must infer from the name alone that this is the single-item lookup and that it should use the other endpoint if it lacks an ID.

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