Skip to main content
Glama

Upload asset

immich_upload_asset

Upload a new asset to an Immich server by providing file data plus creation and modification timestamps.

Instructions

Upload asset

Uploads a new asset to the server.

Immich operation: POST /assets · tag: Assets

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNo
slugNo
durationNoduration (request body)
filenameNofilename (request body)
metadataNometadata (request body)
assetDataYesassetData (request body)
isFavoriteNoisFavorite (request body)
visibilityNovisibility (request body)
sidecarDataNosidecarData (request body)
fileCreatedAtYesfileCreatedAt (request body)
fileModifiedAtYesfileModifiedAt (request body)
livePhotoVideoIdNolivePhotoVideoId (request body)
x-immich-checksumNosha1 checksum that can be used for duplicate detection before the file is uploaded

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true). The description adds essentially nothing beyond restating the mutation, and notably omits that the operation is non-idempotent and that duplicate uploads can be avoided via checksum — context the agent would find valuable for a 13-parameter write.

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 text is short, but the first line redundantly repeats the title 'Upload asset' before the one informative sentence and the operation tag. There is no waste of length, yet the leading duplicate line is not front-loading new information.

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

Completeness2/5

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

For a 13-parameter write tool with three required fields and no output schema, the description never explains what assetData contains (e.g., base64 payload), how fileCreatedAt/fileModifiedAt must be formatted, or that non-idempotency means retries can create duplicates. It is too thin for the tool's complexity.

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 85%, so the schema itself documents most parameters (including the checksum and visibility enum). The description contributes no additional parameter meaning, so the baseline 3 applies.

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 ('Uploads a new asset to the server') and cites the underlying operation POST /assets. It does not distinguish itself from other upload/create siblings such as immich_upload_database_backup or immich_check_bulk_upload, so it stops short of a 5.

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, no prerequisites, and no mention of related operations like the bulk-upload check or the checksum-based duplicate detection path. The agent must infer everything from the name.

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