adb_lock
Lock the screen of any connected Android device using ADB. Specify a device ID to target a specific device.
Instructions
Lock the device screen
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | No | Target device ID (optional) |
Lock the screen of any connected Android device using ADB. Specify a device ID to target a specific device.
Lock the device screen
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | No | Target device ID (optional) |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. It states the action but does not mention side effects, prerequisites (e.g., whether the device must be unlocked), or behavior when the screen is already locked. This lack of detail limits transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that is clear and front-loaded with the essential information. There is no wasted text or unnecessary detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
This is a simple tool with one optional parameter and no output schema. The description covers the core action adequately. Given the tool's low complexity, the description is nearly complete, though it could have added a note about device state requirements.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% for the single optional deviceId parameter, so the schema already documents it. The description adds no additional parameter context, but this is acceptable given the schema's completeness.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Lock the device screen' uses a specific verb ('Lock') and resource ('device screen'), clearly distinguishing it from sibling tools like adb_unlock and adb_is_locked. It leaves no ambiguity about what the tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage: use this tool when you need to lock the device screen. However, it provides no explicit guidance on when not to use it or how it compares to related alternatives such as adb_wake or adb_press_key.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wilsonbeam/openclaw-adb-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server