Skip to main content
Glama

app_screenshot

Capture a PNG screenshot of the app window or a specific element using CSS selector or visible text for component-level visual diffing.

Instructions

Take a PNG screenshot of the running app window, or of a single element if a selector/text target is given (for focused visual diffing of one component).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoTarget by visible text or accessible name (e.g. "Browse")
exactNoWith text: require an exact match instead of substring
selectorNoCSS selector for the element
Behavior4/5

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

Without annotations, the description carries the burden. It transparently states the output format (PNG) and the two modes (full window or element). No side effects are mentioned but none are expected for a screenshot tool.

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?

Single, front-loaded sentence with no wasted words. Clearly communicates the main action and variants.

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

Completeness5/5

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

For a simple tool with 3 optional parameters and no output schema, the description fully covers the behavior. It explains both the full-window and element-specific modes, making it complete.

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 description coverage is 100%, so baseline is 3. The description adds value by explaining the purpose of parameters ('for focused visual diffing of one component'), which provides context 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?

Clearly states the tool takes a PNG screenshot of the app window or a single element, and distinguishes itself by mentioning focused visual diffing of a component, setting it apart from siblings like app_snapshot.

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?

Implies usage: use for full window screenshots or element-specific screenshots. Mentions the focused diffing use case but does not explicitly exclude alternatives or compare with siblings like app_snapshot.

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/FrengkyS1/tauri-mcp'

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