Skip to main content
Glama

get_album_thumbnails

Retrieve base64-encoded thumbnails for photos in an album (thumbnail or preview). Returns album info and list with asset IDs, base64 data, filenames, and dates. Use to generate visual HTML galleries.

Instructions

Get base64-encoded thumbnails for all photos in an album (up to limit). Returns album info and a list of thumbnail entries with asset IDs, base64 data, filenames, and dates. Used for generating visual HTML galleries.

Args:
    album_id: The album's unique ID.
    size: 'thumbnail' (250px) or 'preview' (1440px). Default: thumbnail.
    limit: Maximum number of thumbnails to fetch (default 20, max 50).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
album_idYes
sizeNothumbnail
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description fully discloses that it is a read-only operation retrieving base64-encoded data. It states the return format (album info and thumbnail entries with specific fields) and limits on results. While it could mention rate limits or permissions, the description adequately conveys safe, non-destructive behavior.

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 well-structured with a brief opening paragraph, an 'Args' section in list format, and clear parameter details. Every sentence provides meaningful information without redundancy or extraneous content. It is concise and front-loaded with the core function.

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

Completeness5/5

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

Given the presence of an output schema (not shown but indicated), the description does not need to detail return values. It already summarizes that it returns album info and thumbnail entries with asset IDs, base64 data, filenames, and dates. This is sufficient for the tool's complexity and context.

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 has 0% description coverage, so the parameter documentation in the description is critical. The description clearly explains album_id (required), size (options: 'thumbnail' (250px) or 'preview' (1440px) with default), and limit (default 20, max 50). This adds substantial value beyond the raw schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it gets base64-encoded thumbnails for all photos in an album, with a limit. It differentiates from siblings like get_asset_thumbnail (single asset) and get_thumbnails_batch (batch of IDs) by focusing on album-wide retrieval. The purpose is specific and actionable.

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 description mentions 'Used for generating visual HTML galleries' as a use case, which helps contextualize usage. However, it does not explicitly state when not to use this tool or suggest alternatives (e.g., for single asset thumbnails or batch retrieval). More guidance on parameter choices (e.g., when to use 'preview' size) would improve clarity.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/drolosoft/immich-photo-manager'

If you have feedback or need assistance with the MCP directory API, please join our Discord server