Skip to main content
Glama
fuzzmind

fuzzmind-frida-mcp

by fuzzmind

frida_linux_got_hook

Overwrite a GOT entry in a Linux process to replace or log calls to a specific function in a module.

Instructions

[Linux] Overwrite a GOT/PLT entry for a function in a target module.

Finds the GOT entry for function_name in module_name. If replacement_addr is given, overwrites the slot directly. Otherwise installs a logging trampoline that logs calls and passes through.

target: process name or pid (string). module_name: ELF module name (e.g. 'myapp', 'libssl.so'). function_name: function name whose GOT entry to patch. replacement_addr: optional hex address (e.g. '0x7f001234').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYes
module_nameYes
function_nameYes
replacement_addrNo
Behavior3/5

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

The description discloses the two behaviors (overwrite with replacement_addr or install logging trampoline) but does not mention reversibility, persistence, permission requirements, or side effects. With no annotations, more detail would be beneficial.

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 relatively concise and front-loaded with the main purpose. The parameter list is readable but could be structured with bullets for easier scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Missing information on return value, error conditions, preconditions (e.g., must the process be attached?), and whether it requires an active session. Given no output schema, the description should cover these gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description provides clear definitions and examples for all four parameters, compensating for the 0% schema coverage. Each parameter is explained with type hints and usage context.

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 explicitly states it overwrites a GOT/PLT entry for a function in a Linux target module. It distinguishes itself from other Frida hooks by specifying the mechanism and platform.

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 for intercepting function calls via GOT patching on Linux, but does not explicitly state when to use this tool over alternatives like frida_hook_native_function or frida_interceptor_replace.

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