Skip to main content
Glama

List media library

list_media
Read-only

List the images and videos in the media library whose upload has completed (newest first), paginated. (Required scope: cd.media.write)

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
pageNo
limitNo
workspaceIdNoOptional: id of the workspace to operate on (look it up with list_workspaces); if omitted, the default personal workspace is used. A developer API key can only use the workspace it is bound to.

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 readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds genuinely new context beyond them: results are filtered to completed uploads only, sorted newest first, paginated, and — notably for a read call — require the cd.media.write scope, which is an auth constraint an agent must know before calling. It still omits what pagination metadata is returned, but the disclosure burden is meaningfully met.

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?

Two compact clauses with the result set, filter, ordering, pagination and auth requirement all front-loaded; nothing is repeated or padding. The parenthetical scope note is a clean way to isolate a prerequisite.

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?

For a read-only listing tool with no output schema, the description covers selection, ordering and pagination but never indicates the shape of returned items or how pagination state (next page, totals) is conveyed, which the agent needs to page correctly. The auth scope and workspace fallback are covered, so only the return-value side is thin.

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 only 33%: workspaceId is well documented in the schema, while page and limit carry no descriptions, only numeric bounds. The description mentions pagination and ordering but adds no semantics for page/limit beyond the literal bounds already in the schema, so it does not fully 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 gives a specific verb and resource ("List the images and videos in the media library") plus a meaningful scope qualifier ("whose upload has completed") and ordering ("newest first"), so an agent knows exactly what set it gets back. It does not name or contrast with any sibling such as delete_media or list_workspaces, so it stops short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the "upload has completed" filter hints that this is the follow-up to create_media_upload, and the workspaceId schema note points to list_workspaces for lookup. There is no explicit when-to-use/when-not statement and no named alternative for other media-listing needs.

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.