Skip to main content
Glama
fuzzmind

fuzzmind-frida-mcp

by fuzzmind

frida_java_load_dex

Dynamically load a DEX file into a specified Android process, making its classes available for dynamic analysis with Frida's Java.use().

Instructions

Dynamically load a DEX file into an Android process at runtime.

Uses Java.openClassFile().load() to inject classes from the DEX. After loading, the new classes are available via Java.use().

target: process name or pid (string). dex_path: path to the .dex file on the target device filesystem.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYes
dex_pathYes
device_idNo
Behavior3/5

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

The description explains the mechanism (Java.openClassFile().load()) and the outcome (classes available via Java.use()). However, with no annotations, it lacks details on side effects (e.g., is it reversible?), error conditions, or whether it can be invoked multiple times.

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?

The description is concise at four sentences, with the purpose stated first, followed by implementation detail, effect, and parameter clarification. Each sentence adds value, though the third sentence could be slightly more concise.

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 simple load action with three parameters and no annotations, the description covers purpose, mechanism, and two parameters. It lacks information on return values, error handling, or prerequisites (e.g., an active Frida session). Some important context is missing, making it minimally adequate.

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?

The description provides meaningful explanations for two of three parameters: 'target' is clarified as process name or PID, and 'dex_path' as a filesystem path. The third parameter, 'device_id', is not mentioned, leaving a gap. Given 0% schema coverage, this is a significant but incomplete contribution.

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 clearly states the verb ('load') and resource ('DEX file'), and specifies the context ('into an Android process at runtime'). It differentiates from sibling tools like frida_java_hook_method by focusing on loading a DEX file.

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?

The description implies usage by describing the underlying API call and its effect, but it does not explicitly state when to use this tool versus alternatives (e.g., when to load a DEX vs hooking methods directly). No guidance on prerequisites or preconditions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fuzzmind/frida-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server