Skip to main content
Glama

adb_at_send

Sends a single AT command to the modem and returns the response. Requires root access; automatically detects the port or uses a specified one.

Instructions

Send a single AT command to the modem and capture the response. Requires root. Use adb_at_detect to find the correct port, or specify it manually.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesAT command to send (e.g., 'AT+CSQ', 'ATI', 'AT+COPS?')
portNoModem device node (e.g., '/dev/umts_router0'). If omitted, auto-detects.
timeoutNoResponse timeout in ms (1000-30000, default 5000)
forceNoBypass dangerous command safety check
deviceNoDevice serial
Behavior4/5

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

The description mentions 'Requires root' and implies the tool can be dangerous via the force parameter. However, it does not elaborate on the safety check or potential destructive effects, which is a minor gap given no annotations.

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?

Two sentences, no fluff. First sentence states purpose, second adds context. Efficient and well-structured.

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?

The description covers key aspects: command, port detection, root requirement. It lacks details on error handling or response format but is adequate for a simple tool with rich schema.

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%, so baseline is 3. The description reinforces port handling but adds no new meaning beyond the schema.

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 clearly states it sends a single AT command and captures the response, distinguishing it from siblings like adb_at_batch (batch) and adb_at_detect (port detection).

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?

It advises using adb_at_detect to find the correct port or specify manually, but does not explicitly list scenarios where this tool is inappropriate, such as for batch commands.

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