Skip to main content
Glama

set_wifi

Enable or disable Wi-Fi on an Android device via ADB's svc wifi command. Newer Android versions may require root.

Instructions

Enable/disable Wi-Fi via svc wifi (may need root on newer Android).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serialNo
enabledYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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 it does disclose one genuinely useful trait: the operation runs via `svc wifi` and may require root on newer Android. However, it says nothing about failure modes, whether the device must be connected, or what a successful toggle returns.

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 waste: the action comes first and the operational caveat follows. Nothing needs trimming.

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?

An output schema exists, so return values need not be explained, and the root caveat covers the main risk. But for a mutation tool with an entirely undocumented `serial` parameter and no annotation coverage, the description is only minimally sufficient.

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% and the description only implicitly maps to the `enabled` boolean via 'Enable/disable'. The `serial` parameter for targeting a device is never mentioned in either schema or description, leaving a real gap.

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 pair (enable/disable) and resource (Wi-Fi) that is unambiguous and distinguishable from siblings like set_mobile_data and set_airplane_mode. It never names an alternative, but the action itself is clear enough that an agent knows what it does.

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 only implied by the tool name and the parenthetical root caveat. There is no explicit when-to-use or when-not-to-use guidance, and no mention of the device-selection context that would matter alongside set_mobile_data/set_airplane_mode.

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