Skip to main content
Glama

List photos and videos

media_list
Read-only

Every uploaded file: id, name, type, size and alt text. A file with purgedAt has been removed from storage and can no longer be attached.

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

Input Schema

NameRequiredDescriptionDefault
brandIdNoThe brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / brandId
      Added value: +{
      +  "description": "The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description nevertheless adds real value by disclosing the returned fields and the purgedAt semantics (removed from storage, no longer attachable), which is behavior not visible in annotations. It stops short of stating ordering, pagination or whether purged entries are included or excluded from the 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?

Two short sentences, both information-bearing: the first is a front-loaded field manifest, the second is a targeted caveat. No filler or restatement of the name.

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 usefully compensates by listing the returned fields and the purgedAt meaning, which is the main thing an agent needs to interpret results. Only minor gaps remain around ordering/pagination, which matter little for an unpaginated-looking single-parameter list tool.

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 single optional brandId is fully self-documented in the schema, including the multi-brand versus single-brand rule. The description adds nothing about brandId, so the baseline of 3 applies.

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 the resource precisely — 'every uploaded file' — and enumerates the returned fields (id, name, type, size, alt text), so an agent knows this is an enumeration of stored media rather than a single-file fetch. It does not explicitly differentiate itself from media_view or media_delete, but the 'every uploaded file' framing makes the list scope clear.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no named alternative (e.g. media_view for one file). The only usage-adjacent information is the purgedAt rule, which is a result-interpretation hint rather than a routing instruction.

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.