Skip to main content
Glama
CT-mao

uitree-local

by CT-mao

get_screenshot

Capture the device screen as an image to verify UI changes before and after actions, with an option to hide the Portal overlay.

Instructions

Takes a screenshot of the device screen and returns it as an image. Use this for visual verification of UI before/after actions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hide_overlayNoHide the Portal overlay in the screenshot (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the return type (image) and that it captures the device screen, but does not state read-only safety, permissions, failure modes, or image formatting details. It adds basic behavioral context but leaves several traits implied.

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?

Two compact sentences, front-loaded with the action and return value, followed by the intended use. No redundant or filler content.

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?

The tool is simple (one optional parameter, no nested objects) and the schema fully documents its only parameter. The description explains the core action, output type, and use case, but does not elaborate on image format or read-only behavior; given the low complexity and schema coverage, it is nearly complete.

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

Parameters3/5

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

Schema description coverage is 100%: the single optional parameter hide_overlay is fully described in the schema, including its default and effect. The description adds no parameter meaning, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('takes') and resource ('screenshot of the device screen') and clarifies the output ('returns it as an image'). It implies differentiation from get_screen_state through visual verification, but it does not explicitly name the sibling, so it is clear but not fully sibling-differentiated.

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?

It explicitly instructs to 'Use this for visual verification of UI before/after actions,' giving clear usage context. It does not state when not to use it or name alternatives like get_screen_state, so no exclusion guidance is provided.

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