Skip to main content
Glama

onda_window_screenshot

Capture an Onda main window as PNG or JPEG to visually inspect UI layout, confirm rendering, or diagnose glitches. Returns base64 dataUrl or tempfile path.

Instructions

Capture a PNG/JPEG snapshot of an Onda main window for visual debugging. Returns either a base64 dataUrl or a tempfile path. Use this when you (the agent) need to SEE what the user sees — verifying a layout change, confirming a feature renders correctly, or investigating UI glitches. Returns { dataUrl | path, width, height, windowId, capturedAt }. Defaults: focused window, PNG format, dataUrl=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoOutput format. PNG is lossless (default), JPEG is smaller.
dataUrlNoWhen true (default), returns base64 dataUrl. When false, writes a tempfile and returns its path — useful for large captures.
qualityNoJPEG quality 0..100 (default 80). Ignored for PNG.
windowIdNoWindow ID to capture. Omit for the focused window.
Behavior4/5

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

With no annotations provided, the description carries the full disclosure burden. It explains the return modes (dataUrl vs tempfile), the return object shape (dataUrl|path, width, height, windowId, capturedAt), and defaults (focused window, PNG, dataUrl=true). It omits error conditions or side effects, but for a read-only capture operation these are minor gaps.

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 three sentences, each earning its place: what it does, when to use it, and what it returns. It is front-loaded with the core purpose and contains no fluff or repetition.

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 tool with all-optional parameters and no output schema, the description covers essential context: return shape, defaults, and use cases. It doesn't address error handling or capture timing, but overall it is sufficiently complete for an agent to select and invoke the tool correctly.

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 descriptions cover 100% of the 4 parameters, setting a baseline of 3. The description adds value by summarizing defaults and providing practical guidance for when to set dataUrl=false ('useful for large captures'), which assists parameter selection beyond 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?

The description opens with a specific verb ('Capture') and resource ('Onda main window'), clearly indicating the tool's function. It also states the intent 'for visual debugging' and distinguishes itself from all sibling tools, none of which capture screenshots.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use this tool: 'Use this when you (the agent) need to SEE what the user sees' and lists concrete scenarios (verifying layout, confirming rendering, investigating UI glitches). Since no sibling tool offers screenshots, no alternative or exclusion is needed.

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/mindfullabai/onda-mcp'

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