Skip to main content
Glama

capture_pose_3d

Read-only

Captures a page's largest canvas/WebGL pose grid at up to 10 scroll steps so you can study scroll-driven canvas motion as frames; camera transforms are not recovered.

Instructions

Capture a page's WebGL/canvas pose grid: samples the largest canvas (toDataURL, viewport-screenshot fallback) at up to 10 scroll steps with per-step scroll ratios, for studying scroll-driven canvas motion as frames. Frame evidence only — camera transforms are not recovered. Runs on any URL — does not fetch awwwards.com. Requires the optional playwright dependency.

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_pose_3d"
  }
}

Input 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. Changed1 schema field changedv1.14.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changedv1.13.0
    • removedInput schema / additionalProperties
      Removed value: -false
  3. Addedv1.9.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnly, non-destructive, openWorld), so the bar is lower, and the description still adds real context: an optional playwright dependency, a fallback path to viewport screenshots when toDataURL fails, and variability across scroll steps. Missing are notes on runtime/cost of a 10-step capture and failure behavior on non-canvas pages.

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?

Dense and front-loaded: the primary action and mechanism come first, constraints after. The line "Runs on any URL — does not fetch awwwards.com" is a useful scope clarification but is phrased as a negative about one specific site, which reads as residual noise.

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 must convey what comes back, and it does — frames plus per-step scroll ratios — while annotations cover the safety/idempotency profile. It stops short of describing output shape or how partial failures mid-scroll are reported for a capture that could take several steps.

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 3 is the baseline, but the description genuinely complements the `steps` parameter by explaining that samples are taken "at up to 10 scroll steps with per-step scroll ratios," telling the agent what the samples produce. The viewport enum and URL format are left entirely to the schema.

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?

"Capture a page's WebGL/canvas pose grid" gives a specific verb plus a specific resource, and the follow-on clause names the exact mechanism (largest canvas via toDataURL, screenshot fallback). It also scopes the output ("frame evidence only — camera transforms are not recovered"), which separates it from a scene-reconstruction sibling.

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?

It states the use case clearly — "for studying scroll-driven canvas motion as frames" — and implicitly excludes 3D-transform recovery work with "camera transforms are not recovered." It never names an alternative sibling (e.g., capture_scene_3d) explicitly, so routing is inferred rather than stated.

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