Skip to main content
Glama

get_thumbnails_batch

Retrieve base64-encoded thumbnails for a list of asset IDs to display search results visually without creating an album. Specify size and limit for thumbnails.

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
Behavior3/5

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

No annotations provided, so description carries full burden. States it returns thumbnails with asset IDs, base64 data, filenames, dates. Does not mention permissions, rate limits, or side effects, but operation is clearly read-only.

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

Conciseness4/5

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

Well-structured with clear first sentence, usage context, then Args section. Not excessively verbose. Could be slightly more concise but good.

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?

Covers usage, parameters, return content. Has output schema, so return values are documented. Missing details on authentication or error handling, but adequate for typical use.

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 description coverage is 0%, but description explains each parameter: asset_ids list, size with default and implied sizes, limit with default and max. Adds meaning beyond 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 a list of asset IDs without needing an album, distinguishing it from get_asset_thumbnail (single) and get_album_thumbnails (requires album).

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?

Explicitly says 'Use this when you have search results... without creating a temporary album', implying alternative when album exists. Could mention other alternatives more explicitly, but adequate.

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