Skip to main content
Glama

get_media_info

Inspect a video or audio file to retrieve duration, resolution, codecs, fps, bitrate, and file size. Use the details to verify media properties before editing.

Instructions

Inspect a video or audio file: duration, resolution, codecs, fps, bitrate, file size.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_pathYesPath to the media file. Relative paths resolve against MEDIA_DIR (defaults to the server's working directory); absolute paths are used as-is.
Behavior4/5

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

No annotations are provided, so the description carries the burden. The verb 'Inspect' clearly signals a non-destructive, read-only operation, and the property list sets expectations for the return content. It does not discuss failure modes or unsupported formats, but the essential safety profile is communicated.

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?

The description is a single compact sentence with a clear verb and a comma-separated list of returned properties. Every word earns its place, and it is appropriately front-loaded with the action.

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?

Given the simple tool (one well-documented parameter, no output schema), the description adequately conveys function and return value expectations. Minor gaps include lack of output format details and handling of unsupported file types, but these are not critical for an inspection 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?

The single parameter has 100% schema description coverage, including path resolution semantics. The tool description adds no extra parameter-level meaning beyond the overall purpose, so the baseline score of 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 uses 'Inspect' as a specific verb, identifies the resource as 'a video or audio file', and enumerates the exact metadata returned (duration, resolution, codecs, fps, bitrate, file size). This clearly distinguishes it from the sibling tools, which are all media transformation operations.

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?

The description implies use when you need media metadata rather than modification, and the sibling tool names make the alternative operations obvious. However, it does not explicitly state 'use this when...' or name specific exclusions, so it stops short of full guidance.

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/gxtontata/video-editor-mcp'

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