Skip to main content
Glama

gif

Convert a video segment into an optimized animated image with two-pass palette processing; set width, FPS, start time, and duration.

Instructions

Convert video segment to high-quality GIF with two-pass palette optimization. Control size, FPS, and duration.

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": {
      "input": "<input>"
    },
    "name": "gif"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsNoFrames per second
inputYesInput video file path
startNoStart time (HH:MM:SS or seconds)
widthNoOutput width (-1 for auto)
outputNoOutput GIF file path
durationNoDuration in seconds5

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose the two-pass palette technique (implying a slower, higher-quality path), but it says nothing about the fact that it writes an output file, overwrite behavior, expected runtime/memory cost, or failure modes for invalid segments – significant gaps for a file-producing tool.

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 tightly worded sentences that front-load the core action and follow with the tunable dimensions. No redundant phrasing, though the second sentence is essentially a summary of parameter names.

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 6-parameter file-generation tool with no annotations and no output schema, the description is a bit thin. The schema covers parameters well, but the description leaves output-file behavior, overwrite semantics, and performance expectations unexplained.

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

Parameters3/5

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

Schema coverage is 100%, so every parameter is already documented with meaning and defaults. The description mentions size, FPS, and duration, which loosely maps to width/fps/duration but adds no syntax or edge-case detail (e.g., -1 for auto width, start-time format) beyond what the schema supplies.

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 gives a specific verb (Convert) and resource (video segment to GIF) plus the distinguishing technique (two-pass palette optimization). This clearly separates it from the generic 'convert' sibling, though it never names an alternative to contrast against.

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 only implied: 'Convert video segment to a GIF' tells the agent what scenario fits, but there is no explicit when-to-use, when-not, or pointing to siblings like convert/trim/frames. An agent can infer it is for GIF generation but gets no routing guidance.

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