Skip to main content
Glama

Cellular

cellular
Idempotent

Configure emulator radio registration, signal strength, and data speed/latency to test offline, roaming, weak-signal, and slow-network behavior deterministically.

Instructions

Shape the emulated cellular radio (adb emu gsm / network): data and voice registration state (unregistered/home/roaming/searching/denied/off/on), signal strength (0-4), and mobile-data throughput/latency (network_speed like "lte"/"edge" or ":" kbps; network_delay like "umts" or ":" ms). Test offline/roaming/weak-signal and slow-network behaviour deterministically. Every field optional; set at least one. Emulator-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cellular"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNoMobile-data registration state: one of unregistered, home, roaming, searching, denied, off, on. Omit to leave unchanged.
voiceNoVoice registration state: one of unregistered, home, roaming, searching, denied, off, on. Omit to leave unchanged.
serialNoTarget device serial (adb -s). Optional when exactly one device is attached.
signalNoSignal strength 0-4 (0 = no bars, 4 = full). Omit to leave unchanged.
network_delayNoLatency: a named profile (none, gprs, edge, umts) or raw "<min>:<max>" in ms. Omit to leave unchanged.
network_speedNoData throughput: a named profile (gsm, gprs, edge, umts, hsdpa, lte, evdo, full) or raw "<up>:<down>" in kbps. Omit to leave unchanged.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds valuable non-annotation context: the capability is emulator-only, omitted fields are left unchanged (partial-update semantics), and changes are aimed at deterministic test scenarios. It does not explain how to reset the radio afterwards, which would be the last piece of behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and the two main parameter groups are front-loaded, and the trailing sentences carry the testing rationale and the emulator-only constraint. It is dense with parenthetical detail (enum lists, example profile names) that partially duplicates the schema, which keeps it just below a 5.

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?

For a 6-parameter emulator-state mutation with full schema coverage and annotations, the description supplies the essential extras: emulator-only scope, partial-update behavior and intended test use. With no output schema, it would benefit from a line on what confirmation or resulting state the caller sees, and on resetting the radio.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the per-parameter documentation baseline is 3. The description still adds meaning beyond the schema by stating the cross-field rule that all fields are optional yet at least one must be set, and by explaining that unset fields remain unchanged, which the schema only implies per-property.

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 opens with a specific verb and resource ('Shape the emulated cellular radio') and names the underlying mechanisms (adb emu gsm / network), then enumerates the exact controllable facets: registration state, signal strength, throughput and latency. It is clearly distinguishable from siblings such as phone_call, send_sms, set_battery or set_sensor, which touch different device state.

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 gives a concrete usage context ('Test offline/roaming/weak-signal and slow-network behaviour deterministically') and a hard precondition ('Emulator-only'), plus the operational rule 'Every field optional; set at least one'. It stops short of naming alternatives for adjacent device-state tools or stating how to restore defaults, so it is strong but not exhaustive.

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