Skip to main content
Glama

create_media_providers_refresh

Idempotent

Refresh all media providers in your Plex server to update metadata, artwork, and availability. Resolves stale or missing content by re-scanning external sources.

Instructions

Refresh media providers.

POST /media/providers/refresh

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already communicate that the operation is idempotent, non-destructive, and not read-only. The description adds no behavioral context beyond the word 'Refresh' and the endpoint; it does not disclose what happens during refresh, whether background work is triggered, or what state changes occur.

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 extremely concise: a one-line action followed by the exact HTTP route. Every element earns its place, and the primary purpose is front-loaded.

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

Completeness3/5

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

For a zero-parameter POST endpoint with supporting annotations and an output schema, the description is minimally sufficient for invocation. However, it lacks context about what refreshing media providers entails, whether there are external side effects, and how this operation fits among the provider-related sibling tools.

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

Parameters4/5

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

The input schema has zero parameters, so there are no parameter semantics for the description to add. The 100% schema coverage means no parameter information is missing.

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 'Refresh' and the resource 'media providers', and includes the exact POST endpoint, making the purpose unambiguous. It is distinguishable from sibling provider tools like create_media_providers and list_media_providers, though it does not explicitly contrast them.

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 use this tool versus alternatives such as create_media_providers, list_media_providers, or delete_media_providers_by_provider. There is also no mention of prerequisites, scoping, or when a refresh is appropriate.

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