Skip to main content
Glama
fuzzmind

fuzzmind-frida-mcp

by fuzzmind

frida_java_hook_method

Hook all overloads of a Java method and collect each invocation with arguments and timestamp for dynamic analysis.

Instructions

Hook all overloads of a Java method and collect invocations.

target: process name or pid (string). class_name: fully qualified Java class name. method_name: method name to hook. duration_seconds: how long to collect (default 10).

Hooks every overload. Each call is captured as {class_name, method, args: [String], timestamp}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYes
class_nameYes
method_nameYes
duration_secondsNo
device_idNo
Behavior3/5

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

No annotations are provided, so the description bears full burden. It discloses that it hooks every overload and collects invocations with a timestamp, but does not mention side effects, permissions, prerequisites like an active Frida session, or error handling. The duration parameter is noted but not its behavior beyond default.

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?

The description is concise and front-loaded with the main purpose. It uses a clear bullet-like format for parameters and output example. Every sentence adds value without unnecessary repetition.

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?

Given no annotations, no output schema, and 5 parameters, the description covers basic usage but lacks completeness. It does not address error scenarios, performance impact, or integration with other tools. The missing device_id parameter and lack of prerequisites leave gaps.

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 clarify parameters. It explains target, class_name, method_name, and duration_seconds, but omits device_id. The output format is described. While it adds value for most parameters, the missing parameter and lack of detail on format reduce its effectiveness.

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 tool hooks all overloads of a Java method and collects invocations. It uses a specific verb (hook) and resource (Java method) and distinguishes from sibling tools like frida_java_call or frida_java_list_methods by specifying the action of hooking and collecting.

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 the tool is used for collecting method invocations but does not explicitly state when to use it versus alternatives. It lacks guidance on when not to use it or how it compares to other Java hooking tools.

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