Skip to main content
Glama

get_screen_info

Read-only

Retrieve screen dimensions, density, and orientation for Android or iOS devices to adapt layouts and interactions accurately.

Instructions

Get screen dimensions, density, and orientation for a device

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_screen_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformNoTarget platform. Inferred if omitted.
device_idNoDevice ID. Omit for the connected device.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

B3.2/5.0
Behavior3/5

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

readOnlyHint=true already establishes this as a safe read, so the description doesn't need to restate safety. It does add valuable behavioral detail by enumerating the three returned attributes (dimensions, density, orientation), which is the only source of return-value information since there is no output schema; it says nothing about failure modes when no device is connected or whether orientation reflects the live rotation.

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?

One short sentence, front-loaded with the verb and the three payload fields, with no filler. It avoids padding but is terse to the point of omitting any routing or precondition hints.

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

Completeness3/5

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

For a trivial read-only two-parameter tool this is close to sufficient: both optional parameters are fully specified in the schema and the return fields are named. It still leaves unstated the key operational question of what happens without a connected device and how this differs from get_screen_state, which matters in a catalog full of screen-related siblings.

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?

With 100% schema description coverage, the schema already documents both platform (enum, inferred if omitted) and device_id (omit for connected device). The description adds no further meaning beyond the phrase "for a device", which merely echoes device_id's default behavior, so baseline 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?

Names a specific verb ("Get") and concrete resource fields ("screen dimensions, density, and orientation"), and scopes it to a device, so the agent knows exactly what comes back. It does not, however, distinguish itself from the nearby sibling get_screen_state or clarify the difference from screenshot/rotate_device, which is the main clarity gap.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use or when-not-to-use guidance and never names an alternative. An agent choosing between get_screen_info, get_screen_state, screenshot, and rotate_device must infer the distinction from names alone.

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