Skip to main content
Glama

list_media

Read-only

List media files in the workspace. Shows each file's name, folder, type (image, video, or document: a PDF kept as one item whose ID in media_ids expands into every page), size, a preview link, and its media ID for use when creating posts. To reuse an existing graphic, SEARCH for it by name here FIRST instead of re-uploading — re-uploading the same image creates duplicates. Organize assets into folders with create_folder / list_folders.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results
offsetNoOffset for pagination
searchNoFind a file by name or filename, e.g. "play5get50". Use this before uploading to check if the graphic already exists.
folder_idNoOnly return media in this folder id (from list_folders). Use "root" for unfiled items.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this as a safe read operation (readOnlyHint=true, destructiveHint=false). The description adds useful non-annotation context: the exact fields returned, the PDF-as-one-item expansion behavior, and the duplicate-creation warning. It does not cover pagination defaults, but the added behavioral detail is substantial.

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?

Three sentences, front-loaded with purpose and output summary. The parenthetical about PDF expansion is dense but valuable, and all sentences earn their place. Minor length but no wasted prose.

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?

For a list tool with four optional params and no output schema, the description compensates by naming the returned fields and giving usage guidance. Annotations cover the safety profile. It is complete enough for correct invocation, with only pagination behavior left implicit.

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 fully documents all four optional parameters. The description reinforces the search-before-upload guidance but adds no new syntax or meaning beyond what the schema provides.

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: 'List media files in the workspace,' and enumerates the returned fields. It does not explicitly contrast with sibling list tools like list_folders or list_posts, but the 'media files' resource is distinct enough to be clear.

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?

Gives a concrete when-to-use: search here before uploading to avoid duplicates. Also points to create_folder / list_folders for organizing assets. It lacks explicit exclusions or comparison to other list tools, but the context is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources