Skip to main content
Glama

mcp-gif

MCP server for GIF animation analysis. Provides metadata extraction, individual frame export, and per-frame timing information.

Setup

Claude Code

claude mcp add -s user gif npx mcp-gif

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "gif": {
      "command": "npx",
      "args": ["mcp-gif"]
    }
  }
}

Related MCP server: graphics-mcp

Tools

gif_info

Get GIF metadata: dimensions, frame count, delays, loop count, and average FPS.

Input: path — path to a GIF file

Output:

{
  "width": 320,
  "height": 240,
  "frames": 12,
  "delays": [100, 100, 100],
  "loop": 0,
  "avgFps": 10
}

gif_frame

Extract a single frame as a PNG image.

Input: path — path to a GIF file, frame — 0-based frame index

Output: PNG image (base64)

gif_frames_list

List all frames with their index, delay (ms), and FPS.

Input: path — path to a GIF file

Output:

[
  { "index": 0, "delay": 100, "fps": 10 },
  { "index": 1, "delay": 200, "fps": 5 }
]

License

BSD-2-Clause

Available Tools

3 tools
gif_frameA

Extract a single frame from a GIF as a PNG image

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the GIF file
frameYesFrame index (0-based)

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. 'Extract' suggests a read-only operation and the output format is disclosed, but the description does not mention error handling for invalid frame indices, whether the source is modified, or the exact return format (e.g., raw PNG bytes vs. file path). It adds some context beyond the schema but lacks depth.

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?

The description is a single, concise sentence that front-loads the action. Every word contributes meaning, with no filler or repetition.

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 simple tool with two well-described parameters, the description is mostly complete. It states the operation and output format. However, it does not explicitly clarify whether the PNG is returned as binary data, base64, or written to a file, and there is no mention of error behavior. Since no output schema exists, this slight ambiguity prevents a perfect score.

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 description coverage is 100%: both 'path' and 'frame' are described with sufficient detail. The description does not add any additional parameter semantics, so a baseline score of 3 is appropriate.

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 uses a specific verb ('Extract') and names the exact resource ('a single frame from a GIF') and output ('as a PNG image'). This clearly distinguishes it from sibling tools like gif_info and gif_frames_list, which likely retrieve metadata or list frames, not extract an image.

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 description implies usage when you need a specific frame as a PNG, but it does not explicitly mention alternatives or when not to use this tool. There is no exclusions or comparison to gif_frames_list, leaving the agent to infer the appropriate context.

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

gif_frames_listA

List all frames of a GIF with their index, delay (ms), and FPS

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the GIF file

TDQS

A4/5.0
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses the output (frames with index, delay, FPS) but does not mention potential errors, performance implications, or whether the operation is non-destructive. For a read-only list operation, this is adequate but not rich.

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?

The description is one concise sentence that front-loads the purpose and includes key output details. No filler or redundancy.

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 simple tool with one parameter, no annotations, and no output schema, the description covers the essential purpose and output fields. It could be slightly more complete by noting the return structure (e.g., array of objects) but is adequate for straightforward usage.

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 description coverage is 100% and the single parameter 'path' is self-explanatory. The description does not add extra parameter-level semantics, but the schema already provides sufficient meaning, so a baseline score of 3 is appropriate.

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 clearly states the tool lists all frames of a GIF with specific output details (index, delay, FPS). It uses a specific verb (list) and resource (frames of a GIF) and effectively distinguishes itself from siblings like gif_info and gif_frame.

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

Usage Guidelines4/5

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

The description implies the tool is used when you need to enumerate frames and their metadata. While it doesn't explicitly mention alternatives or exclusions, the context is clear and the sibling tools (gif_info, gif_frame) are obvious from their names, providing sufficient guidance for a simple tool.

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

gif_infoA

Get metadata of a GIF file: dimensions, frame count, delays, loop count, and average FPS

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the GIF file

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It proactively names the specific output fields (dimensions, frame count, delays, loop count, average FPS), giving the agent concrete expectations. It implies a safe, read-only operation, though it does not explicitly state side-effect-free behavior or error conditions.

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?

A single, front-loaded sentence delivers the verb, resource, and output fields with no wasted words. It is perfectly concise and well-structured.

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?

For a simple read-only tool with one parameter and no output schema, the description is complete. It tells the agent exactly what metadata will be returned, covering the absence of an output schema, while the schema documents the input sufficiently.

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?

The schema already provides 100% coverage for the single 'path' parameter, so the baseline is 3. The description does not add additional semantic detail about the parameter beyond the schema's 'Path to the GIF file'.

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 uses the specific verb 'Get' and clearly identifies the resource 'GIF file', listing the exact metadata types returned (dimensions, frame count, delays, loop count, average FPS). This distinguishes it from sibling tools like gif_frame (likely for extracting a frame) and gif_frames_list (probably for listing frames).

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 description implies usage: when you need GIF metadata, use this tool. However, it does not explicitly state when to prefer it over alternatives or mention any exclusions, such as 'for frame-specific data, use gif_frame'.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 3 tool updatesv1.0.1
    • First observedgif_frame
    • First observedgif_frames_list
    • First observedgif_info

TDQS

A3.9/5.0

Scored across 3 tools

Disambiguation4/5

gif_info and gif_frames_list both provide delay and FPS information, which could cause confusion, though gif_info is summary metadata while gif_frames_list is per-frame. gif_frame is clearly distinct.

Naming Consistency4/5

All tools use a consistent gif_ prefix and snake_case, but the second part mixes singular/plural nouns (frame vs frames_list) and uses no explicit verbs, which is a minor deviation from standard verb_noun patterns.

Tool Count4/5

Three tools is a compact set for a focused GIF inspection/extraction server; it's not overly thin and each tool serves a clear purpose, though less comprehensive than larger utilities.

Completeness4/5

The server covers the core workflow of inspecting a GIF (metadata, frame listing, frame extraction), but lacks batch or creation/editing tools, which are minor gaps for a GIF utility.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers