Skip to main content
Glama

device_info

Retrieve hardware and software details for a connected Android device, including model, Android version, battery status, and screen information.

Instructions

Hardware/software summary for a device (model, Android version, battery, screen).

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": "device_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
serialNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says what data is returned but not how the target device is chosen, what happens if 'serial' is omitted or invalid, whether it requires an active adb connection, or what errors look like — all critical for a device-targeted 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?

A single front-loaded sentence with no filler; the enumerated fields make the payload scannable. It is arguably too terse rather than too long, but no sentence is wasted.

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?

An output schema exists, so the description need not explain return values, and the field enumeration is a useful hint. However, for a tool whose only parameter determines which device is queried, the omission of serial semantics and null-default behavior leaves a real gap.

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 there is one parameter ('serial', nullable, default null) that the description never mentions. It does not explain that 'serial' selects the target device or what the null default implies (single connected device? first device? failure?).

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?

States a concrete verb-less but specific resource ('Hardware/software summary for a device') and enumerates the payload fields (model, Android version, battery, screen). An agent can tell this is an aggregate device report, though the description does not distinguish it from siblings like 'battery', 'screen_metrics', or 'adb_version' that return overlapping subsets.

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

Usage Guidelines3/5

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

Usage is only implied: the word 'summary' suggests calling this for an overview rather than a single metric. No explicit when-to-use, when-not, or named alternative (e.g., use 'battery' for battery-only) is given, which matters given several overlapping siblings.

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