Skip to main content
Glama

Capture next frame

webgl_capture_frame

Capture the next WebGL frame for debugging. Automatically handles connection, readiness checks, and runtime installation, returning a summary and resource URIs.

Instructions

Capture the next WebGL frame. Auto-connects, binds readiness checks, installs runtime if needed. Returns summary + resource URIs (not full JSON).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelNo
canvasIdNo
timeoutMsNo
canvasIndexNo
fullCaptureNoSpector fullCapture for richer texture pixels. Defaults true when includeThumbnails=true.
triggerModeNonext-frame
quickCaptureNoSpector quickCapture. true skips VisualState FBO/canvas screenshots. Defaults false when includeThumbnails=true.
includeCallStacksNo
includeThumbnailsNoPersist FBO/canvas VisualState screenshots as files under the capture.
Behavior4/5

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

Annotations are minimal (all hints false), so the description carries the burden. It discloses that the tool auto-connects, performs readiness checks, and installs the runtime if needed, which are significant behavioral traits. It also states that the return value is a summary with resource URIs, not full JSON, setting accurate expectations.

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 two sentences, front-loaded with the core action, and every clause adds value. No unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 9 parameters, no output schema, and minimal annotations, the description is too brief. It does not explain key parameters like triggerMode or the content of the 'summary,' leaving agents with insufficient context to use the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%, and the description does not add any meaning to the parameters. It fails to compensate for the low coverage, leaving many parameters (e.g., triggerMode, fullCapture, includeThumbnails) unexplained.

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 starts with 'Capture the next WebGL frame,' which is a specific verb+resource. It clearly distinguishes from sibling tools like webgl_screenshot_canvas or webgl_capture_sequence.

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 mentions auto-connects and installs runtime, implying when this tool is used (for a single frame capture). However, it does not provide explicit guidance on when to use this tool versus alternatives like webgl_screenshot_canvas or webgl_capture_sequence, nor are exclusions or prerequisites stated.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sakitam-fdd/spector-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server