Skip to main content
Glama

Gragg Agent Tools

video_extract_frames

Grab still frames as PNG images. Either times_s = [seconds, ...] (up to 20) or count = N evenly spaced frames (1-20). Returns a list of image URLs, useful for thumbnails or for looking at a video.

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": "video_extract_frames"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
countNo
times_sNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description does real work: it discloses the output format (PNG), the return value (list of image URLs), and hard limits (up to 20 timestamps, 1-20 frames). It does not disclose what happens if both or neither selector is given, why count defaults to 0 in the schema while the text says 1-20, or any cost/processing behavior for large videos.

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?

Three short sentences, all load-bearing, with the core action front-loaded and the parameter contract second. The mid-sentence line break around the times_s example slightly hurts readability but no sentence is wasted.

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?

For a 3-parameter tool with no annotations and no output schema, the definition covers action, both optional parameters with bounds, mutual exclusivity, and the return shape. The remaining gap is edge-case behavior (default count=0 semantics, missing-selector errors), which is minor but real.

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 description coverage is 0%, so the description must carry parameter meaning and largely does: it defines times_s as a list of seconds, count as N evenly spaced frames, gives numeric bounds for each, and states they are mutually exclusive. Only url is left unexplained, and that is self-evident.

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+resource (grab still frames) plus output format (PNG images) and return type (list of image URLs). It is clearly distinguishable from siblings like video_trim or video_info, though it never explicitly names or contrasts a sibling, so it stops short of 5.

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?

Offers use cases ("useful for thumbnails or for looking at a video") and a parameter-selection rule ("Either times_s ... or count"), which is implied guidance on how to call it. There is no explicit when-not guidance and no routing to alternatives such as video_info for metadata, so usage remains inferential.

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