Skip to main content
Glama

delete_status_sessions_history_by_history_id

DestructiveIdempotent

Remove a specific Plex watch history entry using its history ID. Cleans up individual viewing records for accurate session data.

Instructions

Delete Single History Item.

DELETE /status/sessions/history/{historyId}

Args: history_id: The id of the history item (the historyKey from above)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
history_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is known. The description adds no behavioral context beyond restating the delete operation — it does not say whether the deletion is reversible, what happens to related data, or whether auth is required. No contradiction with annotations, but no added value either.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded with the purpose line followed by the endpoint. But the Args block duplicates what the schema already provides (history_id), and the 'from above' note adds noise, so some words are spent restating structured data rather than adding information.

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 one-parameter tool with full annotations and an output schema, the description is close to adequate. The main gaps are the missing conceptual context of what deleting a status session history item accomplishes and how to obtain a historyKey, which leaves the agent to infer the workflow from the tool name and siblings.

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?

Schema coverage is 0% and the schema only supplies type/title for history_id, so the description must carry the meaning. It does explain that history_id is the history item's id and equates it to the 'historyKey', adding real semantic value. However, the dangling 'from above' reference fails to tell the agent where that key comes from, leaving the explanation incomplete.

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?

'Delete Single History Item.' states a specific verb and resource, and the included HTTP route 'DELETE /status/sessions/history/{historyId}' reinforces the action. It does not explicitly contrast with close siblings like get_status_sessions_history_by_history_id or list_status_sessions_history_all, though 'Single' implies scope relative to the 'all' variant, so differentiation is mostly carried by the name.

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 on when to call this versus alternatives, such as terminating a session via create_status_sessions_terminate or listing history first. The 'from above' cross-reference implies it was written inside a larger document, but the agent gets no decision-rules, prerequisites, or exclusions to route it correctly.

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