Skip to main content
Glama

Retrieve memories statistics

immich_memories_statistics
Read-onlyIdempotent

Retrieve statistics for Immich memories, including total counts and metrics, to monitor and analyze photo memory data. Supports filtering by date, type, saved status, and sort order.

Instructions

Retrieve memories statistics

Retrieve statistics about memories, such as total count and other relevant metrics.

Immich operation: GET /memories/statistics · tag: Memories

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoMemory ID
forNoFilter by date
pageNoPage number
sizeNoNumber of memories to return
typeNoMemory type
orderNoSort order
isSavedNoFilter by saved status
isTrashedNoInclude trashed memories
isUpcomingNoFilter by memories that have not been shown yet

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is fully covered without the description. The description adds the underlying operation and tag, but 'other relevant metrics' tells the agent nothing concrete about what is actually returned, which matters for a read-only aggregate tool.

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?

Very short and front-loaded, with the operation/tag line earning its place. It loses a point only because the first line simply restates the title verbatim before the slightly more informative second sentence.

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?

There is no output schema, so the description carries the burden of describing the return. 'Total count and other relevant metrics' gestures at the shape but is too vague to tell an agent what fields to expect or how the filters (page, size, order) affect the stats response.

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 schema already documents all 9 parameters, and the baseline for this dimension is 3. The description adds no parameter meaning whatsoever — notably it never explains why a statistics endpoint takes id, page, size, order, and isSaved filters.

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+resource ('Retrieve memories statistics') and the sibling family is distinct enough (get_memory, search_memories) that an agent can tell this is the metrics endpoint. However, it never contrasts itself with those siblings, so the differentiation relies on the reader's inference rather than explicit framing.

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 when-to-use guidance at all. It never says to use this instead of get_memory or search_memories when you only need aggregate counts, nor does it list prerequisites (auth scope, whether the stats are user- or server-scoped). The REST path is the only hint about intent.

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