Skip to main content
Glama

run_scenario

Run a verification scenario for a native GUI: define steps and expectations (accessibility, screenshots, queries), then receive a unified report with check breakdowns and diff preview on mismatch.

Instructions

Run a verification scenario in one pass: a fenestra/1 description, optional interaction steps, and a bundle of expectations (emitted intents, a11y, an aria snapshot, a screenshot baseline, query match-counts). Drives the steps, then asserts every expectation against the resulting frame — the screenshot check compares the POST-interaction pixels. Returns a unified report (one ok plus a per-check breakdown) and a preview: the diff image on a screenshot mismatch, else the final render. A failed check is a normal result, not an error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scenarioYesThe scenario: a `fenestra/1` description, optional `steps`, and an `expect` bundle (emitted/a11y/aria/screenshot/queries).
Behavior4/5

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

With no annotations, the description fully bears the burden and discloses key behaviors: drives steps, asserts expectations, compares screenshot post-interaction, returns a report with ok and breakdown, provides preview (diff image on mismatch). It also clarifies that failed checks are normal.

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?

The description is a single paragraph with clear front-loading of purpose. While informative, it could be slightly more concise by merging some sentences. Overall, no unnecessary verbiage.

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?

Given no output schema, the description adequately explains the return format (report with ok and per-check breakdown, preview image). It covers the scenario components, execution, and handling of failures, making it complete for a complex tool.

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% (only one parameter), and the description adds meaningful context beyond the schema by elaborating on the scenario structure (fenestra/1 description, steps, expect bundle).

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 clearly states the tool runs a verification scenario in one pass, listing components (fenestra/1 description, steps, expectations). This distinguishes it from sibling tools that perform individual checks (e.g., check_a11y, interact).

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 explains what the tool does but does not explicitly state when to use it versus alternatives (e.g., using individual tools for step-by-step verification). While the purpose implies it's for a combined run, no exclusions or alternatives are mentioned.

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/richer-richard/fenestra'

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