Skip to main content
Glama

screenshot

Capture the current UI state of a PySide6 app window or a specific widget by ID, returning an image to inspect and orient yourself before automating actions.

Instructions

Capture a screenshot of the app window (or a specific widget by ID). Returns the image so you can see the current UI state. Call this first to orient yourself.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pidNoApp pid from launch_app. Omit to target the last launched app. Required only when several apps are running and you need a specific one.
widget_idNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It states that the tool returns an image, shows the current UI state, and is meant for orientation, which implies a non-destructive read operation. It could add details about failure modes or image format, but nothing in the description misleads or hides critical behavior.

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 short sentences with no wasted words. The core action is front-loaded, the return value is stated immediately after, and the usage tip is a natural closing. Every sentence adds value.

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 simple screenshot tool with no required parameters and no output schema, the description is reasonably complete: it states what is captured, what is returned, and when to call it. The remaining details, such as pid targeting behavior, are already covered by the schema. Minor omissions like error behavior keep it from a perfect score.

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?

The description adds meaning to the widget_id parameter by explaining it targets 'a specific widget by ID,' which the schema does not document. The pid parameter is already well-described in the schema, including its default behavior. Together, the description and schema provide sufficient semantic coverage for both parameters.

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 specific action ('Capture a screenshot'), the resource ('the app window' or 'a specific widget by ID'), and the return value ('the image'). This makes it easy to distinguish from sibling tools like get_widget_tree or get_widget_info, which serve different inspection purposes.

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?

The description gives a clear usage directive: 'Call this first to orient yourself.' This tells the agent when to use the tool in the overall workflow. It does not explicitly discuss when not to use it or name alternative tools, but the guidance is sufficient for a straightforward screenshot tool.

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

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/com55/pyside6-mcp'

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