Skip to main content
Glama

mumu_set_proxy

Configure a global HTTP proxy for all apps in a MuMu emulator instance to monitor their traffic, or clear it by setting an empty host. Changes apply immediately.

Instructions

Point every app at an HTTP proxy — the usual way to watch an app's traffic.

host="" clears it. This writes the global setting, so it takes effect for apps immediately and survives until cleared or the data is wiped.

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": "mumu_set_proxy"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNo
portNo
vmindexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses that this is a global-scope write, that it applies immediately to apps, and that it persists until cleared or data is wiped. It does not cover whether existing per-app proxy settings are overwritten, nor what the call returns.

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?

Three tight sentences, with the core action and the clearing sentinel both front-loaded. The persistence note is earned context rather than padding; nothing is redundant.

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 three-parameter mutation tool with no annotations and no output schema, the description covers scope, immediacy, lifecycle, and the clearing mechanism well. It still leaves vmindex and port unexplained and says nothing about the response or failure conditions, so it is adequate but not complete.

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 0%, so the description must compensate. It explains the special empty-string value for host, which is genuinely useful and not in the schema, but says nothing about port (e.g., default 0 behavior) or vmindex, which is entirely undocumented despite being the only non-obvious parameter.

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?

The description states a concrete verb and resource — point every app at an HTTP proxy — and adds the purpose (watching an app's traffic). It is clear about what is being mutated, though it never contrasts itself with the similarly named sibling mumu_proxy, so an agent cannot distinguish the two from the text alone.

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?

It gives an implied use case (traffic inspection) and a clearing path via host="", but offers no explicit when-not guidance and does not say how this differs from mumu_proxy. The agent must infer the choice between the two proxy-related tools.

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

Deploy Server

Other Tools