Skip to main content
Glama

get_thumbnails_batch

Fetch base64-encoded thumbnails for multiple photo assets by ID to display search results visually without creating albums.

Instructions

Get base64-encoded thumbnails for a list of asset IDs WITHOUT needing an album. Use this when you have search results (asset IDs) and want to display them visually without creating a temporary album. Returns thumbnail entries with asset IDs, base64 data, filenames, and dates.

Args:
    asset_ids: List of asset IDs to fetch thumbnails for.
    size: 'thumbnail' (250px) or 'preview' (1440px). Default: thumbnail.
    limit: Maximum number of thumbnails to fetch (default 20, max 50).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asset_idsYes
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 provided, the description carries full burden and does well by disclosing key behavioral traits: it describes the return format (thumbnail entries with asset IDs, base64 data, filenames, and dates), specifies default values and limits (default 20, max 50), and explains the album-free approach. It doesn't mention error handling or authentication needs, but covers most essential operational aspects.

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 perfectly structured and concise: a clear purpose statement, usage guidance, return format explanation, and parameter details in a clean Args section. Every sentence earns its place with no redundancy or wasted words, making it easy to parse quickly.

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 tool's moderate complexity (3 parameters, batch operation) and the presence of an output schema (which handles return value documentation), the description is complete. It covers purpose, usage context, behavioral aspects, and parameter semantics thoroughly, leaving no significant gaps for agent understanding.

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 schema description coverage is 0%, so the description must fully compensate - which it does excellently. It provides clear semantic explanations for all 3 parameters: what asset_ids represents, the two size options with pixel dimensions, and limit with default and maximum values. This adds substantial meaning beyond the bare 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 the specific action ('Get base64-encoded thumbnails'), target resource ('for a list of asset IDs'), and key differentiator ('WITHOUT needing an album'), distinguishing it from sibling tools like get_album_thumbnails or get_asset_thumbnail. It explicitly contrasts with album-based approaches.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use this tool ('Use this when you have search results (asset IDs) and want to display them visually without creating a temporary album') and when not to use it (when you have or want to use albums). It clearly distinguishes this batch approach from album-based alternatives among the siblings.

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