Skip to main content
Glama

list_media

Read-onlyIdempotent

Lists pictures, sounds, and subtitle files under media/ with path, name, kind, and byte size, helping you find assets to @-mention in the Studio.

Instructions

Pictures, sounds and subtitle files under media/ (videos are list_references): path in the project (media/…; an image layer's src is it with a leading /), name, kind and size in bytes. These are what a person @-mentions by name in the Studio.

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuine behavioral context beyond that: the path convention ('media/…', with a leading '/' when used as an image layer's src) and the per-entry fields returned. It stops short of stating ordering, recursion depth, or whether large libraries are truncated.

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?

Two dense sentences with no filler, and the resource scope is front-loaded ahead of the sibling carve-out. The middle clause about 'an image layer's src' is compressed into a slightly hard-to-parse parenthetical, which costs a bit of readability.

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 correctly carries the burden of describing return entries (path, name, kind, size in bytes), and it grounds the tool in its real use case (@-mentions in the Studio). For a zero-parameter read tool this is nearly complete; only sort order and completeness of the listing are left unspecified.

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 tool takes zero parameters, which is the baseline-4 case; there is nothing in the schema needing elaboration. The description's path-format note ('media/…'; leading '/' in an image layer's src) is arguably useful, but it describes output values rather than inputs.

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 names the resource precisely ('Pictures, sounds and subtitle files under media/') and explicitly carves out the sibling case ('videos are list_references'), so an agent can distinguish it from list_references without opening either schema. It also enumerates the fields each entry carries (path, name, kind, size in bytes), making the tool's output shape concrete.

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 a clear trigger context — these are the items 'a person @-mentions by name in the Studio' — and states an explicit exclusion ('videos are list_references'). It does not, however, address when to prefer it over find_media (search-style sibling), so a gap in routing guidance remains.

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

Deploy Server

Other Tools