Skip to main content
Glama

adb_type

Type text into an Android device over adb, allowing only [A-Za-z0-9 ._-] characters so no control characters reach the shell.

Instructions

Type text into the Android device via input text; restricted to [A-Za-z0-9 ._-] (spaces become %s) so no control characters can reach the shell.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "serial": "<serial>",
      "text": "<text>"
    },
    "name": "adb_type"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
serialYes
timeoutMsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose a genuinely important trait: the allowed character class and the spaces-to-%s escaping that prevents shell control characters. However, it omits whether a text field must already be focused, whether input is appended, and how failures/timeouts surface.

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?

A single front-loaded sentence with zero filler; the purpose comes first and the sanitization constraint follows as supporting detail. Every clause earns its place.

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?

For a mutation-style tool with no annotations, no output schema and undocumented parameters, the definition covers the highest-risk aspect (shell injection) but leaves device targeting, timeout behavior and return/failure semantics unaddressed.

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% across 3 parameters, so the description must compensate. It adds real meaning for 'text' (character restriction, space encoding) but says nothing about 'serial' (which device) or 'timeoutMs' (bound on the 15s default), leaving two of three parameters undocumented.

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 specific verb and resource ('Type text into the Android device') plus the underlying mechanism ('via input text'), which distinguishes it from adb_tap/adb_swipe/adb_exec without naming them. It stops short of explicitly contrasting with the sibling exec tools.

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 implied rather than stated: an agent can infer this is the tool for entering text into a focused field and that other characters require adb_exec. There is no explicit when-to-use / when-not-to-use sentence or naming of an alternative.

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