Skip to main content
Glama

read_panels

Retrieve the Derma/VGUI panel hierarchy with class, name, visibility, screen coordinates, and size to target UI elements for mouse clicks or capture regions.

Instructions

Derma/VGUI panel tree: class, name, visibility, size, position both parent-relative (x/y) and absolute (screen_x/screen_y), whether mouse input is enabled, and on_screen. Filter on on_screen: visible is the panel's own flag only, so a flat tree is mostly panels belonging to closed menus. Use screen_x/screen_y to aim a click or a capture region -- x/y are relative to the parent and are (0,0) for most nested panels.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxDepthNo
Behavior3/5

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

The description implies this is a read-only operation by describing the returned data, but it does not explicitly state the behavior (e.g., no side effects). Annotations only include title, so the description carries the full burden but omits explicit read-only/destructive hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single long sentence packed with information but could be restructured for better readability. It front-loads the main purpose but then adds details in a somewhat rambling manner.

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

Completeness2/5

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

While the description details the returned fields, it ignores the maxDepth parameter, leading to incomplete understanding. No output schema exists, and the description does not clarify the tree structure format (flat vs nested), causing potential confusion.

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

Parameters1/5

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

The only parameter, maxDepth, is not mentioned in the description. Schema coverage is 0%, so the description fails to explain its meaning or default behavior, leaving the agent uninformed.

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 returns a Derma/VGUI panel tree with specific fields (class, name, visibility, size, position). It distinguishes itself from sibling tools by detailing the exact attributes and coordinates, making its purpose unambiguous.

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?

Provides guidance on filtering by on_screen and interpreting screen_x/screen_y for clicking or capture regions. It does not explicitly state when not to use this tool, but the context it provides helps the agent decide, e.g., using inspect_panel for a single panel.

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/TheRolists/gmod-mcp'

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