Skip to main content
Glama

List the A1 Lane media library

list_media
Read-onlyIdempotent

Use when the user asks what videos or images are already in their A1 Lane media library, or wants to reuse a file they uploaded earlier instead of uploading it again. Returns the library's files, newest first, each with its media id (med_…) for create_draft, kind (video or image), type, size, file name, title, tags, when it was added and whether the file itself is still held. Filter by kind, tag or a search word; page with limit and offset. It only lists; to add a file use import_media for a public link or create_upload_link for a file on the user's device. Do not use it when the user asks to create, generate or edit an image or video (resize, crop, trim): A1 Lane makes and edits no media, so say so without calling it.

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
tagNoOnly files carrying this tag.
kindNoOnly videos or only images; omit for both.
limitNoHow many files to return, 1 to 100; default 50.
offsetNoHow many files to skip, for paging; use nextOffset from the previous result.
searchNoOnly files whose name, title or tags contain this text.

Output Schema

NameRequiredDescriptionDefault
mediaYes
nextOffsetNo

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 establish readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavior: results are ordered newest first, entries report whether the underlying file is still held, and filtering/paging is done via limit and offset. It stops short of auth, rate limits or error behavior, but the additions are substantive for a read tool.

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?

The trigger and scope are front-loaded, then return shape, then parameters, then the negative routing guidance — a logical order. The return-field enumeration is long but each item aids selection; only slight tightening would be possible.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With annotations, a fully described five-parameter schema and an output schema, the description covers everything an agent needs: trigger, return contents, ordering, filtering/paging, and what to call instead. Nothing material is left for the agent to infer.

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 description coverage is 100% and every parameter already carries its own description, including the enum for kind and the default for limit. The description merely restates that you can filter by kind, tag or search word and page with limit and offset, adding no syntax or semantics beyond the schema. Baseline 3 is appropriate.

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 opens with a specific verb and resource ('list... A1 Lane media library') and elaborates on the exact payload each entry carries (media id, kind, type, size, name, title, tags, added time, storage state). It also explicitly separates itself from import_media, create_upload_link and create_draft, so an agent can route correctly without inspecting schemas.

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 gives an explicit trigger ('user asks what videos or images are already... or wants to reuse a file'), names the correct alternatives for adjacent intents (import_media for a public link, create_upload_link for a device file), and adds an explicit exclusion: do not call it for create/generate/edit requests such as resize, crop or trim.

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.