Skip to main content
Glama

get_cpu_usage

Retrieve current CPU load statistics from a connected Android device to analyze performance and identify resource usage.

Instructions

Retrieve current CPU load statistics from the device shell using dumpsys cpuinfo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serialNoSpecific device serial number
Behavior2/5

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

With no annotations provided, the description carries full responsibility for behavioral disclosure. It mentions using dumpsys cpuinfo, implying a read-only operation, but does not state whether a device must be connected, what permissions are needed, or what the output format looks like. This is a significant gap for a shell-based tool.

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, concise sentence that front-loads the action ('Retrieve') and resource ('CPU load statistics'), with no wasted words or redundant content.

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 tool is simple (one optional parameter, no output schema), and the description provides the essential method. However, it lacks context on the return value format, device requirements, or any caveats, making it adequate but minimal.

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?

The input schema has 100% coverage for the single optional parameter 'serial' with its description 'Specific device serial number'. The tool description adds no additional parameter semantics, so the baseline of 3 applies.

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?

The description uses a specific verb 'Retrieve' and identifies the resource as 'current CPU load statistics', with the method 'dumpsys cpuinfo' distinguishing it from sibling tools like get_dumpsys or execute_shell_command.

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?

The phrase 'current CPU load statistics' implies the use case of needing CPU information, but there is no explicit guidance on when to use this tool versus alternatives like get_dumpsys or execute_shell_command, nor any exclusions or prerequisites.

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/abhinav7895/adb-mcp-server'

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