Skip to main content
Glama

update_log

Idempotent

Write a single-line message to the Plex Media Server log using a specified severity level and source. Use it to record diagnostics, errors, or debug information directly in the PMS log.

Instructions

Logging a single-line message to the Plex Media Server log.

PUT /log

Args: level: An integer log level to write to the PMS log with.

  • 0: Error

  • 1: Warning

  • 2: Info

  • 3: Debug

  • 4: Verbose message: The text of the message to write to the log. source: A string indicating the source of the message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelNo
sourceNo
messageNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already indicate this is a non-read-only, non-destructive, idempotent operation. The description adds useful context by identifying the target as the PMS log and documenting the log level meanings, but it does not disclose return behavior, authentication needs, or any side effects beyond writing a log entry.

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, well-structured, and free of filler. It front-loads the core purpose, includes the endpoint, and provides a clear labeled argument list with useful level values.

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 low-complexity logging tool, the description fully documents the parameters and the target resource, and an output schema is present to describe return values. It could be more complete with usage guidance or optionality notes, but nothing critical is missing for calling the tool.

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?

The input schema only lists property names with no descriptions, so the description carries the full burden. It clearly explains the meaning of all three parameters, including an explicit mapping of integer levels to log severities, which is essential for correct invocation.

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 that this tool logs a single-line message to the Plex Media Server log, with the verb 'logging' and resource 'Plex Media Server log.' It is specific about the operation, though it does not explicitly differentiate itself from the sibling tools create_log and create_log_networked.

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 guidance about when to use this tool versus alternatives, or any exclusions or prerequisites. The description only explains the parameters and endpoint, leaving the agent to infer appropriate usage.

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