Skip to main content
Glama

Robot Actions — Remote Device Control

Device gamepad status

device_gamepad_status
Read-onlyIdempotent

Report whether a virtual game controller is currently attached to an Android device, what it is presenting as, and the last state that was sent to it. Use to confirm device_gamepad_state took effect. The attachment is read from the device itself; the held state is the last frame this server sent, since a controller reports state to apps rather than back to us.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
udidYesDevice serial number (UDID)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds non-obvious semantics: attachment is read from the device itself, while the held state is the last frame this server sent, since a controller does not report state back. This resolves a likely agent misconception about data provenance.

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?

Three tight sentences: the report contents come first, the usage guidance second, and the provenance caveat last. No sentence is filler; each adds a distinct piece of information.

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

Completeness5/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 compensates by enumerating what is reported (attachment presence, presentation, last state) plus where each value comes from. An agent has everything needed to call and interpret this tool correctly.

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 udid parameter is fully documented in the schema, so the description need not carry that burden. It adds no additional syntax or format detail for udid, making the baseline 3 appropriate.

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?

States a specific verb and resource: reports whether a virtual game controller is attached to an Android device, what it presents as, and its last sent state. It is clearly a read/status counterpart to the sibling mutator device_gamepad_state, so an agent can distinguish it without opening schemas.

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

Usage Guidelines5/5

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

"Use to confirm device_gamepad_state took effect" gives an explicit usage condition and names the sibling tool it complements. The read-vs-write relationship between the two tools is spelled out, leaving nothing to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources