Skip to main content
Glama

seek_video

Jump to a specific timestamp in a playing YouTube or TikTok video by entering the exact second position.

Instructions

Seek to an absolute position in the currently playing video.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
secondsYesPosition to seek to in seconds

Implementation Reference

  • The definition and handler implementation for the 'seek_video' MCP tool. It uses mpv.command to seek to the specified position in seconds.
    server.tool(
      'seek_video',
      'Seek to an absolute position in the currently playing video.',
      { seconds: z.number().min(0).describe('Position to seek to in seconds') },
      async ({ seconds }) => {
        try {
          await mpv.command(['seek', seconds, 'absolute']);
          return textResult(`Seeked to ${seconds}s.`);
        } catch (err) {
          return errorResult(`Error: ${err instanceof Error ? err.message : String(err)}`);
        }
      }
    );
Behavior3/5

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

With no annotations provided, the description carries the full burden. It successfully discloses 'absolute' positioning (distinguishing from relative seeks), but omits error handling, bounds behavior, or state requirements beyond the implicit 'currently playing' clause.

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?

Single sentence of eight words with zero redundancy. Front-loaded with the action verb and immediately qualified with the positioning context. Every word earns its place.

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?

For a single-parameter mutation tool with no output schema, the description adequately covers the core function but lacks completeness regarding error states, bounds checking, or prerequisites that would help an agent handle failure cases.

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?

While the schema has 100% coverage documenting the 'seconds' parameter, the description adds crucial semantic context by specifying 'absolute position,' clarifying that the value represents a fixed timeline position rather than a relative offset.

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 provides a specific verb ('Seek'), resource ('video'), and scope ('absolute position'), clearly distinguishing it from sibling transport controls like next_video, prev_video, or pause_video.

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?

The phrase 'currently playing video' implies the prerequisite that a video must be active, but there is no explicit guidance on when to use this versus relative navigation or what happens if invoked without an active video.

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/ronantakizawa/social-video-mcp'

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