Skip to main content
Glama

extract_frame

Save a single frame from a media file at a chosen time as an image, letting you create thumbnails or poster images for video projects.

Instructions

Save one frame of a media file as an image (thumbnail/poster).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>",
      "media_id": "<media_id>",
      "time": "<time>",
      "out_path": "<out_path>"
    },
    "name": "extract_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
timeYes
media_idYes
out_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description bears the full burden and leaves key behaviors unstated: whether out_path is overwritten if it exists, how the output image format is determined (extension? fixed?), and whether media_id must reference media already imported into the project. Only the basic read-source/write-image nature is conveyed.

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?

A single tight sentence with the action front-loaded and zero filler. Its brevity is appropriate, though it leaves no room for the disambiguating detail the four undocumented parameters need.

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

Completeness2/5

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

For a four-required-parameter tool with no annotations, no output schema, and no schema descriptions, the definition is too thin — an agent cannot confidently supply 'time' units or decide between 'path' and 'media_id' without guessing.

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

Parameters2/5

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

Schema coverage is 0% and all four parameters are bare titles. The description does not clarify the critical distinction between 'path' and 'media_id', nor the units of 'time' (seconds, frames, or timecode) or the expected content of 'out_path'. The 'frame'/'image' phrasing maps loosely to the params but resolves none of the ambiguity.

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?

States a concrete verb ('Save') and resource ('one frame of a media file as an image') with the thumbnail/poster use case in parentheses, which an agent can distinguish from import_media or probe_media. It stops short of explicitly naming how it differs from those siblings, so not a 5.

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?

The parenthetical 'thumbnail/poster' hints at the intent, but there is no explicit when-to-use guidance, no prerequisites (e.g. must the media be imported first?), and no mention of alternatives for pulling metadata or stills.

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