Skip to main content
Glama

update_rate

Idempotent

Rate a Plex media item by providing its rating key and numeric rating, with an optional timestamp for when the rating occurred.

Instructions

Rate an item.

PUT /:/rate

Args: identifier: The identifier of the media provider containing the media to rate. Typically com.plexapp.plugins.library key: The key of the item to rate. This is the ratingKey found in metadata items rating: The rating to give the item. rated_at: The time when the rating occurred. If not present, interpreted as now.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNo
ratingNo
rated_atNo
identifierNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already convey that this is a non-read-only, idempotent, non-destructive operation. The description adds a useful behavioral detail about `rated_at` defaulting to now, but it does not disclose whether existing ratings are overwritten, what rating values are valid, or any authentication requirements.

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 front-loaded with the core purpose, followed by the endpoint and a clean Args list. There is no redundant filler, and each line contributes useful information.

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 small four-parameter tool with an output schema and annotations, the description covers the essential parameter semantics and defaults. The main missing context is the expected rating scale/range and behavior when re-rating an already-rated item, which an agent would need for a fully correct invocation.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden, and it does so well: it explains all four parameters, identifies `key` as the metadata `ratingKey`, provides a typical `identifier` example, and defines the behavior of `rated_at`. This is meaningfully informative beyond the raw schema.

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 clearly states the action, 'Rate an item,' and reinforces it with the endpoint 'PUT /:/rate'. It is distinct from the broader sibling set, though it does not explicitly call out an alternative or clarify edge cases such as updating vs. creating a rating.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The intended usage is implied: use this tool when an item needs to be rated. However, there is no explicit guidance about when not to use it, no sibling comparison, and no prerequisites such as whether the item must already exist or whether the rating key is mandatory.

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