Skip to main content
Glama

adb_iio_read

Read real-time power consumption per SoC subsystem (CPU, GPU, display, etc.) on Tensor/Exynos devices, or raw sensor data on other devices, via the Linux IIO subsystem.

Instructions

Read raw hardware data from the Linux IIO (Industrial I/O) subsystem. Discovers all IIO devices and reads their current values. On Tensor/Exynos devices, this exposes per-rail power monitors (ODPM) showing real-time power consumption per SoC subsystem (CPU clusters, GPU, display, memory, TPU, GPS, etc.) — data not available through the Android sensor HAL. On other devices, may expose raw accelerometer, gyroscope, magnetometer, or ADC channels. Root required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
listOnlyNoIf true, list available IIO devices without reading values
deviceNoDevice serial
Behavior4/5

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

No annotations provided, so description carries full burden. Discloses that the tool reads data, discovers all IIO devices, and requires root. Notes device-specific behavior (power monitors vs. raw sensors). Does not mention rate limits or potential side effects, but as a read operation this is acceptable.

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?

The description is a single paragraph of three sentences, each conveying essential information: purpose, device-specific behavior, and root requirement. No redundant or filler content.

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?

Given no output schema, the description adequately hints at output (power monitors on Tensor/Exynos, raw sensors on others) and mentions root requirement. Could specify that output format varies, but overall provides sufficient context for a read tool.

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% with both parameters described in the input schema. The description does not add additional meaning beyond the schema for the parameters; it focuses on output context. Baseline score of 3 is appropriate since schema already documents parameters adequately.

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?

Clearly states it reads raw hardware data from Linux IIO subsystem, discovers devices, and reads values. Differentiates from Android sensor HAL and mentions specific use on Tensor/Exynos devices for power monitors. 'Root required' is a key requirement.

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

Usage Guidelines4/5

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

Provides context on when to use: on Tensor/Exynos for per-rail power data not available via sensor HAL, and on other devices for raw sensor data. Implies root requirement as a precondition. Does not explicitly list alternatives but the sibling list includes adb_sensor_read which covers sensor HAL, aiding differentiation.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fullread/DeepADB'

If you have feedback or need assistance with the MCP directory API, please join our Discord server