Skip to main content
Glama

List Media

list_media
Read-onlyIdempotent

List media files (JPEG, PNG, MP4) uploaded to this workspace, each with a download_url, so you can pick media IDs for create_draft or edit_content. Filter filenames with query and page with limit and offset. With no arguments it returns {items} (up to 100); with any argument it also returns total, limit, offset, has_more and query. This tool cannot upload; send files to the authenticated POST /api/mcp/media endpoint.

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": "list_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size, 1-100 (default 100).
queryNoCase-insensitive text to match in media filenames, up to 120 characters.
offsetNoZero-based number of results to skip; pass the previous page's next offset to continue.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, and the description still adds real value by spelling out the exact response shape (items, total, limit, offset, has_more, query) and the default up-to-100 page. The one gap is the note about the media upload endpoint, which is a redirect rather than disclosure of this tool's behavior, but it doesn't mislead.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with purpose, then parameters, then response shape and the upload exclusion—nothing is repeated and no sentence could be dropped without losing information.

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?

With no output schema, the description carries the burden of return-value explanation and does so clearly, including the conditional difference between no-argument and filtered responses. A minor omission is whether there is any fixed ordering of results that paging relies on.

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 coverage is 100% and the schema already documents limit's 1-100 range, query's 120-character case-insensitive filename match, and offset's zero-based continuation. The description packages those three controls into one sentence ("filter filenames with query and page with limit and offset") without adding new syntax or format detail, so the baseline 3 applies.

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?

"List media files (JPEG, PNG, MP4) uploaded to this workspace" gives a specific verb, resource, and scope, and naming the sibling consumers create_draft and edit_content makes the purpose concrete rather than generic.

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 states both the when (pick media IDs to pass to create_draft or edit_content) and the when-not (this tool cannot upload; send files to the authenticated POST /api/mcp/media endpoint), with the filename-filter and paging controls named for the reader.

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