Skip to main content
Glama

capture_pose_3d

Read-only

Capture a page's WebGL/canvas 3D pose grid: samples the largest canvas (toDataURL, viewport-screenshot fallback) at up to 10 scroll steps with per-step scroll ratios, for reconstructing scroll-driven 3D camera paths.

Instructions

Capture a page's WebGL/canvas 3D pose grid: samples the largest canvas (toDataURL, viewport-screenshot fallback) at up to 10 scroll steps with per-step scroll ratios, for reconstructing scroll-driven 3D camera paths. Runs on any URL — does not fetch awwwards.com. Requires the optional playwright dependency.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesAbsolute page URL to capture (https:// or file://)
stepsNoScroll samples across the page (default 6)
viewportNodesktop = 1440x900 (default); mobile = 390x844 iPhone-class with deviceScaleFactor 3, isMobile + hasTouchdesktop

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.9.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the read-only/open-world annotations, the description discloses non-obvious behavior: it targets the largest canvas, uses toDataURL with a viewport-screenshot fallback, samples up to 10 scroll steps with per-step ratios, and carries a hard dependency on playwright. The fallback and dependency requirements are exactly the traits an agent must know before invoking.

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?

Three dense sentences, no filler. The core action and its output are front-loaded, with constraints (URL scope, playwright dependency) trailing. Every clause carries information an agent can act on.

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?

With no output schema, the description should ideally characterize the returned pose grid, but it only hints at 'per-step scroll ratios' without describing the output structure. Parameters are fully covered by the schema and annotations cover safety, so the remaining gap is modest 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 coverage is 100%, so the baseline is 3, but the description adds real meaning: it explains that the steps parameter produces per-step scroll ratios used for camera-path reconstruction, and clarifies the scroll-sampling semantics tied to the 'up to 10' cap. This goes beyond restating the schema's defaults and ranges.

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?

States a specific verb (capture) and resource (a page's WebGL/canvas 3D pose grid), then specifies the mechanism (largest canvas via toDataURL with screenshot fallback) and the analytic purpose (reconstructing scroll-driven 3D camera paths). This clearly separates it from siblings like capture_live_site, capture_component, and analyze_scroll_map.

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?

Gives clear context: works on any URL, explicitly does not fetch awwwards.com, and requires the optional playwright dependency. It does not, however, name a sibling or state when to prefer this over capture_live_site or analyze_scroll_map, so the alternative-selection guidance is implicit rather than explicit.

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