Skip to main content
Glama
renef-mcp
by Ahmeth4n

renef_module_sections

Lists ELF sections for a loaded Android library by name, helping inspect section layout and metadata during dynamic instrumentation and reverse engineering.

Instructions

List ELF sections of a loaded library (sec <lib_name>).

Args: lib_name: Library name (e.g., "libnative.so", "libflutter.so")

Returns: Formatted ELF section list from renef_server

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

Input Schema

NameRequiredDescriptionDefault
lib_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/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 disclosure burden. It conveys that this is a read/inspection operation on an already-loaded library via the 'sec' command, but says nothing about error behavior (e.g., unknown or unloaded library), permissions, or side effects. It does at least disclose the underlying command mapping, which is genuinely useful context.

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?

Short and front-loaded, with the purpose in the first sentence and parameters/returns clearly delimited. The 'Returns' line is somewhat redundant with the output schema and restates the server name, but overall there is little waste.

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

Completeness4/5

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

For a one-parameter inspection tool with an output schema already documenting return values, the description covers purpose, the argument, and the prerequisite state adequately. The remaining gap is behavioral (what happens on a bad or unloaded library name), which is minor at this complexity.

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 single parameter has 0% schema description coverage, so the description must compensate, and it largely does by naming the semantics ('Library name') and giving two concrete example values ('libnative.so', 'libflutter.so'). It stops short of clarifying whether a full path or only a basename is accepted.

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 opens with a concrete verb and resource: 'List ELF sections of a loaded library'. It is specific enough to separate this from sibling tools like renef_module_exports (symbols) or renef_module_find, but it never names those siblings to make the distinction explicit.

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?

Usage is only implied by the phrase 'loaded library', which signals a prerequisite (the library must already be loaded) but does not say so outright. There is no when-to-use vs. when-to-use-something-else guidance and no mention of alternatives among the many renef_module_* siblings.

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