Skip to main content
Glama

Record a GIF

gif_creator

Record browser tab actions as animated GIFs; start, stop, export, or clear recordings and capture extra screenshots around key actions to improve playback.

Instructions

Record browser actions in a tab as an animated GIF. start_recording captures a frame after every action (clicks are marked); stop_recording stops; export writes the GIF to disk and returns its path; clear discards the recording. Capture extra screenshots before and after important actions for smoother playback.

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": {
      "action": "<action>",
      "tabId": "<tabId>"
    },
    "name": "gif_creator"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdYesTab ID from tabs_context / tabs_create.
actionYes
filenameNoFile name for export, e.g. "checkout_flow.gif".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior4/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 that a frame is captured after every action, that clicks are marked, that export writes to disk and returns the path, and that clear discards the recording (a destructive effect). It does not cover output location, per-tab scoping, or what happens if actions are issued out of order, leaving some behavioral gaps for a stateful multi-mode tool.

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 compact paragraph, front-loaded with the core purpose, followed by one clause per action mode and then a single practical tip. Every sentence carries information and nothing is padded.

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 three-parameter tool with no annotations and no output schema, the description covers purpose, mode semantics, and the export return value (the path). It is nearly complete, with only edge behaviors — failure modes, recording scope, and whether stop is mandatory before export — left unspecified.

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 67%, with tabId and filename already documented in the schema. The description's main contribution is explaining the four enum values of `action`, which the schema lists without semantics, but it adds nothing about filename formatting beyond the schema example and nothing about tabId. Adequate but mostly duplicative of the enum itself.

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 opens with a specific verb and resource ("Record browser actions in a tab as an animated GIF") and then enumerates each of the four operating modes, so an agent knows exactly what the tool produces. No sibling in the list records GIFs, so differentiation is achieved by default.

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?

Each action is anchored to its role in a lifecycle (start_recording → stop_recording → export, with clear as a discard path), which tells the agent how the modes relate. It also advises capturing extra screenshots around important actions for smoother playback. It stops short of explicit prerequisites (e.g., that export requires a prior recording) or when to prefer this over another capture approach.

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