Skip to main content
Glama

Displays

info
Read-only

Retrieve a peer's display layout — index, size, position, and primary screen — plus Android remote touch (accessibility) status, using a 9-digit rockd ID or IP:port.

Instructions

The peer's displays: index, size, position, which is the main one. On Android it also says whether remote touch (accessibility) is enabled.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "peer": "<peer>"
    },
    "name": "info"
  }
}

Input Schema

NameRequiredDescriptionDefault
peerYesThe peer's 9-digit rockd ID (from `devices` / `status`), or IP:port to dial directly

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare this a read-only, open-world operation, so the description is free to add value — and it does by disclosing platform-conditional output: on Android an extra remote-touch/accessibility field appears. It does not cover failure behavior for an unreachable peer, which keeps it off a 5.

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 short sentences, front-loaded with the resource and followed by the notable platform exception. Every clause carries information; nothing is padded or repeated.

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?

With no output schema, the description correctly carries the burden of describing return contents (index, size, position, main designation) plus the Android-only field. It is complete enough to call correctly, though it could say more about whether sizes are in pixels or logical units.

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 coverage is 100% and the single peer parameter is documented in the schema with its 9-digit rockd ID and IP:port fallback. The description only implies peer scoping ("The peer's displays") and adds no routing or formatting detail beyond the schema, so the 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?

"The peer's displays" names a specific resource, and the list of returned attributes (index, size, position, main flag) makes the purpose concrete. It lacks an explicit verb and does not distinguish itself from lookalike siblings such as screenshot or ls, so it stops short of a 5.

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?

There is no explicit when-to-use guidance, no prerequisites, and no named alternative. The use case (learning display geometry before coordinate-based actions like click or scroll) is only inferable from the sibling list, not stated in the definition.

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