Skip to main content
Glama

get_recently_added

Read-only

Retrieve recently added media across all Plex libraries, with TV grouped by season. Filter by type and library key to list movies, shows, seasons, episodes, artists, albums, or tracks newest first.

Instructions

Get recently added media across all libraries. TV is grouped by season, so a new episode of an existing season is not listed; pass type and libraryKey to list items of one type (e.g. episode) newest first.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_recently_added"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoList only this media type, newest first (requires libraryKey)
limitNoNumber of items to return (default: 50)
libraryKeyNoLibrary section key to list from (required with type)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.9.0
    • addedInput schema / properties / libraryKey
      Added value: +{
      +  "description": "Library section key to list from (required with type)",
      +  "type": "string"
      +}
    • addedInput schema / properties / type
      Added value: +{
      +  "description": "List only this media type, newest first (requires libraryKey)",
      +  "enum": [
      +    "movie",
      +    "show",
      +    "season",
      +    "episode",
      +    "artist",
      +    "album",
      +    "track"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changedv1.2.0
    • changedInput schema / properties / limit / default
      Previous value: -10New value: +50
    • changedInput schema / properties / limit / description
      Previous value: -"Number of items to return (default: 10)"New value: +"Number of items to return (default: 50)"
  3. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive, open-world profile, so the description's real contribution is the non-obvious disclosure that new episodes of existing seasons are omitted due to season grouping — a surprise an agent would otherwise hit. It doesn't describe return shape or ordering guarantees beyond 'newest first'.

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?

Two sentences, no filler, and the caveat about season grouping is front-loaded before the parameter workaround. Every clause carries information an agent needs.

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 3-parameter read tool with full schema coverage and annotations, the description covers the main gotcha and the filtering path. With no output schema, it could say more about what an item record contains, which is the remaining gap.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema: it explains why type is worth passing (to surface episodes that season grouping hides) and restates the type/libraryKey coupling. That is genuine semantic value, not repetition.

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?

States a specific verb and resource ('Get recently added media') plus scope ('across all libraries'), which separates it from get_library_items and get_recently_watched by implication. It does not name a sibling explicitly, so it stops short of full differentiation.

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

Usage Guidelines4/5

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

Gives clear conditional guidance: default behavior is season-grouped TV, and passing type plus libraryKey switches to a flat per-type listing newest first. It lacks an explicit when-not-to-use or a named alternative for browsing a whole library, which is where get_library_items would apply.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.