Skip to main content
Glama
renef-mcp
by Ahmeth4n

renef_module_exports

List or search exported (.dynsym) or full (.symtab) symbols of a loaded Android library by name or glob pattern, returning addresses and offsets for reverse engineering.

Instructions

List or search exported (.dynsym) or full (.symtab) symbols of a loaded library.

  • Uses Renef v0.4.0's Module.findExportByName(lib, pattern) when pattern is set and include_symbols=False. Supports glob wildcards (*, ?) — e.g. "SSL_*", "*verify*", or exact names like "fopen".

  • Set include_symbols=True to read .symtab (Module.symbols, empty for stripped binaries).

Args: lib_name: Library name (e.g., "libc.so", "libssl.so", "linker64") pattern: Optional glob pattern ("pthread_*", "*open*") or exact symbol name include_symbols: If True, inspect .symtab (Module.symbols) instead of .dynsym limit: Maximum symbols to return (default: 200)

Returns: JSON object with base address, match counts, and symbol list with offsets

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_exports"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
patternNo
lib_nameYes
include_symbolsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add useful behavior: glob wildcard support with concrete examples, the fact that .symtab is empty for stripped binaries, and a default cap of 200 symbols. It does not state that the operation is read-only or say anything about error behavior for a missing library.

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?

Front-loaded one-line summary followed by scannable mode bullets, then compact Args/Returns blocks. Every line conveys distinct information, with only minor repetition of the pattern examples between prose and Args.

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

Completeness5/5

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

An output schema exists, so return values need not be spelled out, yet the description still notes the shape (base address, match counts, symbol offsets). Combined with full parameter documentation and mode mechanics, nothing an agent needs to call this correctly is missing.

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?

Schema description coverage is 0%, so the description must compensate entirely, and it does: all four parameters are documented with meaning, defaults, and examples (lib_name examples like libc.so/linker64, glob patterns, the .symtab switch, and the 200 limit). This is exactly the value-add the schema lacks.

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 and resource: list or search exported (.dynsym) or full (.symtab) symbols of a loaded library, and names the two underlying Renef APIs. It never distinguishes itself from adjacent siblings such as renef_module_find or renef_module_sections, which is the only thing keeping this from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Clearly explains the two operating modes: pattern set with include_symbols=False resolves via findExportByName, while include_symbols=True switches to the .symtab. It gives no explicit when-to-use-versus-alternative guidance (e.g. when to pick this over renef_module_find), so there is no exclusion or routing advice.

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