Skip to main content
Glama
renef-mcp
by Ahmeth4n

renef_module_find

Find the base address of a loaded library in the target process by name or partial match, returning found status plus base and hex values for module calculations.

Instructions

Find the base address of a loaded library in the target process (Module.find).

Args: lib_name: Library name (e.g., "libc.so", "libflutter.so"). Supports partial matches.

Returns: JSON object with found, base, and base_hex

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lib_name": "<lib_name>"
    },
    "name": "renef_module_find"
  }
}

Input Schema

NameRequiredDescriptionDefault
lib_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it discloses the partial-match behavior and the shape of the result (`found`, `base`, `base_hex`), which usefully implies a non-throwing not-found path. However it omits prerequisites (attached process, loaded module), whether it is a pure read, and what happens with ambiguous partial matches.

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?

Front-loaded purpose sentence followed by a compact Args/Returns block; every line is relevant. The Returns section partially duplicates the existing output schema, which is the only wasted text.

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 one-parameter lookup with an output schema already defined, the description covers name matching and result fields adequately. It still leaves out the operational precondition that a target process must be attached, which is the main thing an agent could get wrong here.

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?

Schema coverage is 0%, so the description must compensate, and it does: it gives concrete examples ('libc.so', 'libflutter.so') and, more importantly, states that partial matches are supported – semantics an agent could not infer from a bare `lib_name: string` property. Case sensitivity and ambiguity resolution remain undocumented.

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 precise verb+resource pair: resolve the base address of a loaded library via `Module.find`. That is clearly narrower than siblings like renef_module_list or renef_module_exports, though it never explicitly names those alternatives to sharpen the boundary.

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?

Implied usage only – the phrase 'in the target process' hints that an attach must already exist, but the description never states that precondition or says when to prefer this over renef_module_list/renef_module_sections. No explicit when-not guidance is present.

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