Skip to main content
Glama

frida_prepare

Push and start frida-server on a rooted Android device to prepare it for Frida-based app unpacking; requires Magisk or su access.

Instructions

root 方案准备:推送并启动 frida-server(默认 tools/frida-server,需 Magisk/su)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serialNo
serverLocalPathNo本机 frida-server 路径

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose the key trait that this requires root (Magisk/su) and that it pushes a binary and launches a server process — real side effects. However, it omits idempotency, what happens if frida-server is already running, failure behavior, and any cleanup semantics.

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?

A single front-loaded sentence that packs purpose, default path, and the root prerequisite with no filler. Efficient, though the parenthetical could be structured more clearly.

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 two-parameter, no-annotation, no-output-schema prep tool, the description covers purpose, default, and the root requirement. It still leaves the device-targeting parameter and the outcome of 'start' unexplained.

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 coverage is only 50%; serverLocalPath is documented in the schema, while serial is undocumented in both places. The description adds a default path (tools/frida-server) for the server path, but contributes nothing about how serial selects a device.

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 plus resource: pushes and starts frida-server, framed as root-solution preparation. It is distinguishable from the smali/pull/static siblings, though it never names blackdex_prepare, its closest alternative preparation path.

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?

Provides the prerequisite 'needs Magisk/su', which tells the agent the device must be rooted, but gives no explicit when-to-use-vs-alternative guidance against blackdex_prepare or other prep tools. Usage is implied rather than directed.

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