Skip to main content
Glama

list_local_videos

Read-only

List downloaded video files with filtering by file type and pattern, and sorting by name, size, or modification time. Helps you find videos to watch from your local storage.

Instructions

List locally downloaded video files with filtering and sorting.

Use this to discover what video files have been downloaded to the VIDEO_PATH directory. These are videos previously downloaded with download_video.

Parameters:

  • pattern: Glob pattern to filter filenames (e.g., "sora*.mp4", "*.webm"). Default: all files

  • file_type: Filter by type: "mp4", "webm", "mov", or "all". Default: "all"

  • sort_by: Sort results by "name", "size", or "modified". Default: "modified"

  • order: "desc" for newest/largest/Z-A first, "asc" for oldest/smallest/A-Z. Default: "desc"

  • limit: Max results to return. Default: 50

Returns list of VideoFile objects with: filename, size_bytes, modified_timestamp, file_type.

Example workflow:

  1. list_local_videos(file_type="mp4") -> find downloaded MP4 videos

  2. view_media(media_type="video", filename="my_video.mp4") -> watch it

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
orderNodesc
patternNo
sort_byNomodified
file_typeNoall
Behavior4/5

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

Annotations already mark this as read-only, and the description adds behavioral detail: it scans VIDEO_PATH, applies defaults (sort_by=modified, order=desc, limit=50), and returns specific VideoFile fields. No contradiction with annotations.

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 description is well-structured with a summary line, use-case paragraph, parameter list, return type, and example workflow. Minor redundancy exists between the first and second sentences, but overall every section earns its place.

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?

Despite no output schema, the description specifies return fields (filename, size_bytes, modified_timestamp, file_type), defaults, and an end-to-end workflow. This is sufficient for an agent to invoke the tool correctly and interpret results.

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

Parameters5/5

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

Schema coverage is 0%, but the description provides a full parameter section explaining all 5 params: pattern with glob examples, file_type enum values, sort_by options, order semantics, and limit default. This fully compensates for the schema's lack of descriptions.

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+resource: 'List locally downloaded video files' and further scopes to the VIDEO_PATH directory. It clearly distinguishes from sibling list_videos by emphasizing 'locally downloaded' and referencing download_video.

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 states when to use: to discover files previously downloaded with download_video, and gives an example workflow chaining to view_media. It doesn't explicitly name list_videos as the alternative for non-local videos, but the local vs. remote distinction is implied.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TJC-LP/sanzaru'

If you have feedback or need assistance with the MCP directory API, please join our Discord server