Skip to main content
Glama

capture_frames

Capture screenshots at defined scroll positions and animation states to inspect how page animations render. Supports custom scroll percentages and reuses animation inventory data.

Instructions

Capture screenshots at scroll positions and animation states. Default scroll positions: [0, 25, 50, 75, 100]%. Pass inventory from discover_animations to skip re-detection.

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

Input Schema

NameRequiredDescriptionDefault
urlYesURL of the page to capture
inventoryNoOptional — pass inventory from discover_animations to skip re-detection
scroll_positionsNoOverride default scroll positions (percentages)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It states that screenshots are captured but not how results are returned (files, URLs, inline data), whether capture is slow or has limits, or whether page state is modified; 'animation states' is also left unexplained.

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?

Two sentences, no padding, with the core action first and the operational hint second. Every clause adds actionable information.

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?

With no annotations and no output schema, the description should say more about what comes back from a capture and any execution constraints. The parameters and default behavior are well covered, but the output side and behavioral cost of the tool are absent.

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 coverage is 100%, so the baseline is 3, and the description earns above that by disclosing the default scroll positions [0, 25, 50, 75, 100]%, which the schema does not encode as a default. The inventory cross-reference is also clarified as a re-detection skip.

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 leads with a specific verb and resource ('Capture screenshots') and narrows scope to 'scroll positions and animation states,' which separates it from siblings like extract_animation_code or get_page_content. It stops short of explicitly contrasting with any named alternative except discover_animations, which is referenced only as an input source.

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?

It gives one concrete workflow hint — pass inventory from discover_animations to skip re-detection — which implies 'run discover_animations first when needed.' However, it never states when to call this versus describe_animations or inspect_animation, or when a scroll sweep isn't useful.

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