Skip to main content
Glama

view_frame

Returns a sampled visual frame near a requested timestamp from a media file, giving AI assistants time-aligned visual evidence. Use it to inspect scene changes or verify content at a specific time.

Instructions

Return one sampled visual frame near the requested time. The image is sent to the MCP host/model; obtain user permission for sensitive media.

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>",
      "time_s": "<time_s>"
    },
    "name": "view_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
time_sYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely important trait: the frame is transmitted to the MCP host/model and sensitive media needs user permission. That is real value beyond structured fields. However, it leaves out how approximate 'near' is (tolerance/sampling behavior), what happens if time_s is out of range, and what image format/size comes back.

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?

Two sentences, front-loaded with the core behavior and no filler. The permission warning is worth its space, though it could be tightened into a clause rather than a second full sentence.

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

Completeness3/5

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

There is no output schema and no annotations, so the description must stand alone, and it does cover the essential shape (one image, sampled, sent to the model). It is still thin for a media tool: no error behavior, no tolerance for the requested time, no clarification of the path parameter.

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%, so both parameters are bare names in the schema and the description must compensate. It adds only that time_s is approximate ('near the requested time'); it never explains what 'path' points to — a local file path, a URL, or a media identifier — which is the single most error-prone thing an agent could get wrong here.

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 a specific verb and resource — 'Return one sampled visual frame' — and scopes it to 'near the requested time', which is enough for an agent to know this yields a single still image rather than a stream or analysis. It does not contrast itself with siblings such as inspect_region or sense_video, so the agent must infer the boundary.

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

Usage Guidelines3/5

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

Usage is implied by the noun phrases: reach for this when a visual frame at a given time is needed. There is no explicit when-not guidance, no mention of alternatives for spatial or region inspection, and no statement about prerequisites such as the media having a video track.

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