Skip to main content
Glama

update_media_grabbers_devices_by_device_id

Idempotent

Enable or disable a device in Plex using its ID to control access to media grabbers.

Instructions

Enable or disable a device.

PUT /media/grabbers/devices/{deviceId}

Args: device_id: The ID of the device. enabled: Whether to enable the device

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
enabledNo
device_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already communicate idempotence and non-destructiveness, so the bar is lowered. The description does not contradict the annotations and accurately reflects a mutation that toggles device state, but it adds no further behavioral context such as side effects, permissions, or retry implications.

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?

The description is compact and well ordered: a one-line action, the HTTP route, then two one-line parameter explanations. There is no filler or redundant elaboration.

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 simple two-parameter update with annotations covering safety and an output schema covering return values, the description is nearly complete: it provides the route and both parameters. The main gap is lack of format guidance for the enabled parameter, but overall an agent has enough to attempt a correct call.

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 Args section adds qualitative meaning: device_id is 'The ID of the device' and enabled is 'Whether to enable the device.' However, schema description coverage is 0%, and the description does not clarify the accepted string/null values for enabled or what omitting it means, so compensation is only partial.

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

Purpose5/5

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

The description states a specific action, 'Enable or disable a device,' with a clear resource and a concrete endpoint path. This distinguishes it from sibling operations on the same device resource, such as delete, channelmap, or prefs updates, without needing to open the schema.

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?

No guidance is given about when to choose this tool over alternatives like delete_media_grabbers_devices_by_device_id or update_media_grabbers_devices_by_device_id_prefs. The usage context is only implied by the enable/disable wording, with no explicit when-to-use or when-not-to-use guidance.

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