Skip to main content
Glama

list assets

assets_list
Read-only

List media assets by type, creator, project, or name to find asset IDs, with pagination, sorting, and total counts for browsing accessible video, audio, and images.

Instructions

List the media assets (VIDEO, AUDIO, IMAGE) you can access in the current organization, one page at a time, to find an asset id by name, type, creator or project. Not for an id you already hold (use assets_get), a total alone (use assets_count) or generation results (use generations_list, or projects_list-generations when available). Filters combine, so an asset must match all of them; deleted assets never appear. Returns {items, nextCursor, totalCount}: each item includes id, name, type, url, durationSeconds, size, format, width, height, visibility, createdAt, thumbnailUrl and proxyPath; totalCount counts every match across pages, and nextCursor is absent on the last page. Previews: show only each item's own exact thumbnailUrl, query string intact. Never search the web, generate an image, guess or construct a URL, or substitute another asset, a stock image, a voice portrait, or the asset's url or proxyPath. If thumbnailUrl is missing or fails to load, show https://mcp.sync.so/asset-placeholder.svg labeled "Thumbnail unavailable" and say it is a placeholder, not a frame from the asset; if the host cannot display it, say "Thumbnail unavailable" without substituting an image. Playback still uses the asset's media url.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "assets_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size, an integer from 1 to 100 (default 10); other values fail validation. Keep it small and page with cursor.
typesNoOnly these media types: VIDEO, AUDIO or IMAGE, as one value or a list; an asset of any listed type matches.
cursorNoThe nextCursor from the previous page; send the same filters and sortBy with it. Omit for the first page.
sortByNoSort order (default nameAsc). dateAsc and dateDesc sort by creation time, kindAsc and kindDesc by file format; duration, size and kind sorts put missing values last.
userIdNoOnly assets created by this user: a user UUID.
projectIdNoOnly assets attached to this project: a project UUID from projects_list or projects_create.
audioSourceNoKeep only audio from this source: `tts` for saved text-to-speech output, `upload` for every other audio asset. Video and image assets are unaffected.
searchQueryNoCase-insensitive text matched anywhere in the asset name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.22
    • addedInput schema / properties / audioSource
      Added value: +{
      +  "description": "Keep only audio from this source: `tts` for saved text-to-speech output, `upload` for every other audio asset. Video and image assets are unaffected.",
      +  "enum": [
      +    "upload",
      +    "tts"
      +  ],
      +  "type": "string"
      +}
  2. Changed7 schema fields changedv0.2.4
    • changedInput schema / properties / cursor / description
      Previous value: -"The previous page's nextCursor, to read the next page. Omit for the first page."New value: +"The nextCursor from the previous page; send the same filters and sortBy with it. Omit for the first page."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of results to return. Keep it small and page with cursor."New value: +"Page size, an integer from 1 to 100 (default 10); other values fail validation. Keep it small and page with cursor."
    • changedInput schema / properties / projectId / description
      Previous value: -"Only assets attached to this project (an id from projects_list or projects_create)."New value: +"Only assets attached to this project: a project UUID from projects_list or projects_create."
    • changedInput schema / properties / searchQuery / description
      Previous value: -"Text to match against names."New value: +"Case-insensitive text matched anywhere in the asset name."
    • changedInput schema / properties / sortBy / description
      Previous value: -"Sort order, such as dateDesc for newest first."New value: +"Sort order (default nameAsc). dateAsc and dateDesc sort by creation time, kindAsc and kindDesc by file format; duration, size and kind sorts put missing values last."
    • changedInput schema / properties / types / description
      Previous value: -"Only these media types: VIDEO, AUDIO or IMAGE, as one value or a list."New value: +"Only these media types: VIDEO, AUDIO or IMAGE, as one value or a list; an asset of any listed type matches."
    • changedInput schema / properties / userId / description
      Previous value: -"Only assets created by this user id."New value: +"Only assets created by this user: a user UUID."
  3. Changed7 schema fields changed
    • addedInput schema / properties / cursor / description
      Added value: +"The previous page's nextCursor, to read the next page. Omit for the first page."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of results to return. Keep it small and page with cursor."
    • addedInput schema / properties / projectId / description
      Added value: +"Only assets attached to this project (an id from projects_list or projects_create)."
    • addedInput schema / properties / searchQuery / description
      Added value: +"Text to match against names."
    • addedInput schema / properties / sortBy / description
      Added value: +"Sort order, such as dateDesc for newest first."
    • addedInput schema / properties / types / description
      Added value: +"Only these media types: VIDEO, AUDIO or IMAGE, as one value or a list."
    • addedInput schema / properties / userId / description
      Added value: +"Only assets created by this user id."
  4. Addedv0.1.5

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, the description discloses pagination behavior, that filters are combined with AND semantics, that deleted assets never appear, and the exact response shape including cross-page totalCount and last-page cursor behavior. It also gives detailed preview and placeholder rules that prevent URL guessing or asset substitution.

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?

The definition is front-loaded with purpose and sibling exclusions, then return shape, then preview rules. It is long and somewhat dense, but most content earns its place by preventing incorrect preview behavior and clarifying pagination.

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?

For a complex eight-parameter listing tool with no output schema, the description is complete: it covers response fields, pagination, filtering behavior, deleted assets, and thumbnail fallback handling. An agent has enough information to invoke it correctly and interpret the result.

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?

The schema already documents all eight parameters at 100% coverage, so the baseline is 3. The description adds useful meaning beyond the schema by stating that filters combine and that deleted assets are excluded, though it does not elaborate on each parameter's individual semantics.

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 states a specific verb and resource: list media assets (VIDEO, AUDIO, IMAGE) accessible in the current organization, one page at a time. It also explains the goal, finding an asset id by name, type, creator or project, which clearly distinguishes it from siblings like assets_get and assets_count.

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?

It explicitly says when not to use this tool: for an id already held use assets_get, for a total alone use assets_count, and for generation results use generations_list or projects_list-generations. This gives strong routing guidance against relevant alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.