Skip to main content
Glama

List Media

list_media
Read-onlyIdempotent

Returns files in the workspace media library. Use the media id in the platform fields of create_post. A file is usable once its processingStatus is processed.

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
pageNo1-based page number
limitNoItems per page (max 100)
folderIdNo
mimeTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world behavior, so the safety profile is covered. The description adds genuinely new behavior: results include a processingStatus field and items are not usable until it reads `processed`, which an agent cannot infer from the annotations. It omits pagination/ordering behavior of the returned list.

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 short sentences, front-loaded with the core action, followed by the usage pointer and the readiness caveat. No filler and nothing redundant with the title or annotations.

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, and the description only gestures at the item shape via processingStatus; it does not describe pagination, result ordering, or what a page of results contains despite having page/limit parameters. The undocumented filtering parameters (folderId, mimeType) are another gap for a tool with a 50% coverage schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: page and limit are documented in the schema, but folderId and mimeType carry no schema descriptions. The description mentions none of the four parameters and gives no guidance on folder scoping or MIME filtering, so it fails to compensate for the coverage gap.

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?

The description states a specific verb and resource ('Returns files in the workspace media library'), which clearly separates it from single-item siblings like get_media and from list_folders. It does not explicitly name those siblings, so differentiation is implied rather than stated.

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?

It gives concrete downstream context ('Use the media `id` in the platform fields of create_post') and a readiness rule ('usable once its processingStatus is `processed`'), which tells an agent both why and when to call this. It stops short of stating when to prefer this over get_media or list_folders, so no explicit exclusions.

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.