Skip to main content
Glama

Retrieve stacks

immich_search_stacks
Read-onlyIdempotent

Retrieve a list of Immich stacks, optionally filtered by primary asset ID, to inspect grouped assets.

Instructions

Retrieve stacks

Retrieve a list of stacks.

Immich operation: GET /stacks · tag: Stacks

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
primaryAssetIdNoFilter by primary asset ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds only the HTTP method/path and tag, with no additional behavioral context such as auth needs, pagination, ordering, or rate limits. No contradiction with annotations.

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 short and front-loads the purpose, but the first two lines are redundant ('Retrieve stacks' and 'Retrieve a list of stacks'). The third line is operational metadata, so overall it is concise but not maximally efficient.

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 simple read-only list tool with one optional filter, no output schema, and complete annotations, the description covers the essential purpose. It still omits return shape, pagination, and ordering details, leaving some gaps for an agent that needs to call it correctly.

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 description coverage is 100%, so the single optional parameter 'primaryAssetId' is fully documented in the schema. The description adds no further meaning, but the baseline is 3 when schema coverage does the heavy lifting.

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 ('Retrieve a list of stacks') plus the underlying operation 'GET /stacks', so the basic purpose is clear. However, it does not distinguish this list/retrieval tool from siblings such as immich_get_stack (single stack) or other search/list tools.

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?

There is no guidance on when to use this tool versus alternatives, nor any exclusions or prerequisites. The optional primaryAssetId filter is only documented in the schema, not in the description, so the agent gets no usage context.

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