Skip to main content
Glama
Mobile Device Farm MCP

Mobile Device Farm MCP

get_device_info

Retrieve Android device details—battery, resolution, SDK version, and model—by device ID to verify test environment and target hardware.

Instructions

Get Android device details (Battery, Resolution, SDK, Model).

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_device_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden; the imperative 'Get' plus the enumerated field list establishes that this is a read that returns device attributes, which is useful disclosure. However, it says nothing about permission requirements, behavior when deviceId is omitted, or what happens with multiple connected devices, leaving real gaps for a no-annotation tool.

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 sentence, front-loaded with the verb and resource, with no filler. The parenthetical field list is efficient, though the whole definition is arguably too terse given the missing parameter semantics.

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?

The listed fields partially compensate for the absent output schema, and the tool is simple (one optional parameter, no nesting). But with no annotations and zero schema coverage, the description should still explain the optional deviceId and basic preconditions; those omissions keep it at minimum-viable.

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

Parameters2/5

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

Schema description coverage is 0% and the single parameter deviceId is not mentioned at all in the description. The fact that deviceId is optional (required: 0) makes the omission meaningful: the agent cannot tell whether omitting it targets the sole connected device, returns all devices, or errors.

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 has a clear verb ('Get') and resource ('Android device details') and enumerates the returned fields (Battery, Resolution, SDK, Model). This distinguishes it from the adb_* action siblings, which manipulate a device rather than report on it. It does not explicitly name a contrasting sibling, keeping it below 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 guidance on when to call this versus alternatives such as list_devices or adb_network_status, nor any prerequisite stated (e.g., that a deviceId comes from list_devices). The agent must infer the usage context entirely.

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