Skip to main content
Glama

Robot Actions — Remote Device Control

Android DevTools mock remove

android_devtools_mock_remove
DestructiveIdempotent

Remove one Chrome/WebView route by id. When the last route is removed the device is automatically un-armed, so no traffic is paused for nothing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesRoute id to remove (from *_mock_list)
udidYesDevice id (Android serial or iOS UDID)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds real behavioral context beyond them: removing the last route automatically un-arms the device so traffic is not paused needlessly — a non-obvious side effect an agent could not get from the 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 short sentences, front-loaded with the action and resource, with the second sentence dedicated to the side effect. No filler and nothing redundant with structured fields.

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 two-parameter mutation with annotations covering destructiveness and idempotency, the description is nearly complete; the auto-un-arm behavior is the key extra. It omits what happens when the id is unknown or the device is not armed, which is a minor gap.

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 description coverage is 100% with only two simple parameters (id, udid), so the schema already carries the meaning. The description adds nothing about parameter format or the id's provenance beyond what the schema states. Baseline 3 is appropriate.

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 (remove), resource (one Chrome/WebView route) and lookup key (by id), which distinguishes it from bulk siblings like android_devtools_mock_clear. It does not, however, explicitly contrast itself with android_traffic_mock_remove or ios_safari_mock_remove, so an agent must infer the platform boundary.

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: remove a previously added mock route. No when-to-use/when-not guidance, no named alternative (mock_clear would be the obvious one), and no prerequisites such as needing an active DevTools page. The id source is mentioned in the schema, not here.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources