Skip to main content
Glama

OpenReels

Look at a public video

analyze_public_video
Read-onlyIdempotent

Look at a public Instagram, TikTok, or X video. Pass startTime and endTime in seconds to inspect one part of the clip, such as startTime 10 and endTime 20. Pass framesPerSecond from 0.25 to 5. At most 30 frames are returned, so 3 per second covers 10 seconds and 5 per second covers 6 seconds. If the range is longer than that, call again with the next startTime. Omit the times to sample from the beginning. Timestamps are positions in the original video. Returns JPEG frames, plus caption, duration, and the audio link. Does not transcribe speech. Do not use for private accounts, stories, highlights, or anything that needs a login.

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": {
      "url": "<url>"
    },
    "name": "analyze_public_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic Instagram, TikTok, or X post URL.
indexNoZero-based slide when the post has several videos or photos. Defaults to the first.
sampleNointerval samples across the clip. scene prefers cuts. Ignored when framesPerSecond is set.
endTimeNoSeconds where this segment stops. Must be later than startTime.
startTimeNoSeconds from the start of the video. Use this to inspect a later segment.
framesPerSecondNoHow many frames to take each second, from 0.25 to 5. At most 30 frames are returned.

Output Schema

NameRequiredDescriptionDefault
audioYes
widthYes
framesYes
heightYes
sourceYes
captionYes
endTimeYes
usernameYes
startTimeYes
transcriptYes
durationSecondsYes
framesPerSecondYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, and the description still adds non-obvious behavior: a hard 30-frame ceiling, the framesPerSecond 0.25–5 range, that timestamps index the original video, that speech is not transcribed, and that unsupported sources are rejected. These are the constraints that actually shape a correct call, not restatements of the annotations.

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?

Front-loads what the tool does, then the segment mechanics, then the frame budget, then exclusions — each sentence adds a distinct operational fact. Despite being longer than average, there is no filler or repetition.

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?

Even though an output schema exists (so return values need not be described), the description still names them, and it covers the paging, sampling, and eligibility rules an agent needs before calling. For a 6-parameter open-world read tool, nothing material is missing.

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

Parameters4/5

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

Schema coverage is 100%, so per-parameter definitions are already supplied and baseline is 3. The description goes beyond that by explaining the interaction between framesPerSecond and the 30-frame cap ('3 per second covers 10 seconds'), the default behavior when times are omitted, and the meaning of timestamps as positions in the original video — cross-parameter semantics the schema cannot express.

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 specific verb and resource ('Look at a public Instagram, TikTok, or X video') and clarifies scope with the return contents (JPEG frames plus caption, duration, audio link) and the negative 'Does not transcribe speech'. An agent can tell this is a frame-inspection tool, but the sibling download_public_media is never named, so the distinction is inferred rather than stated.

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?

Gives explicit when-to-use mechanics (pass startTime/endTime to inspect a segment, omit the times to sample from the beginning), explicit pagination guidance ('call again with the next startTime'), and explicit when-not-to-use exclusions (private accounts, stories, highlights, anything requiring login). Nothing about applicability is left to inference.

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.

Resources