Skip to main content
Glama
renef-mcp
by Ahmeth4n

renef_process

Inspect target process memory ranges, enumerate live threads and thread IDs, and capture PAC-aware stack backtraces for Android ARM64 debugging and reverse engineering.

Instructions

Inspect target process memory ranges, threads, thread ID, and stack backtrace.

Actions:

  • info (default): PID (OS.getpid), current agent thread ID (Thread.id), and thread count

  • ranges: Enumerate /proc/self/maps via Process.enumerateRanges() (optional substring filter on path or perms like "r-xp")

  • threads: Enumerate all live thread IDs via Process.enumerateThreads()

  • thread_id: Current agent thread ID (Thread.id())

  • backtrace: PAC-aware stack backtrace (Thread.backtrace())

Args: action: "info", "ranges", "threads", "thread_id", or "backtrace" filter: Optional substring filter for action="ranges" (matches path or perms) limit: Maximum entries for action="ranges" (default: 200)

Returns: JSON object with requested process/thread data

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "renef_process"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
actionNoinfo
filterNo

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?

With no annotations, the description carries the full burden. It conveys read-only intent through verbs like "inspect" and "Enumerate", discloses the underlying sources (/proc/self/maps, Thread.backtrace with PAC awareness), and gives the default limit of 200. It never explicitly states that the tool has no side effects or whether an active attachment/session is required, which is a meaningful gap for an unannotated tool.

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?

Sectioned layout (summary, Actions, Args, Returns) is easy to scan and front-loaded with the purpose. The action values are repeated verbatim from the Actions list into the Args block, which is redundant, and the Returns line adds little given an output schema exists.

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?

An output schema exists, so the brief Returns line is sufficient, and all three parameters are addressed in prose. For a multi-action introspection tool with zero schema coverage, the definition supplies what an agent needs to pick an action and its options; only session prerequisites and error behavior are absent.

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 description coverage is 0%, so the description must compensate, and it largely does: it enumerates all five valid action values (the schema has no enum), explains that filter is a substring match against path or permissions with an example like "r-xp", and scopes limit to ranges with a default of 200. It does not say how invalid action or filter values are handled, leaving a small residual gap.

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 opening sentence states a specific verb and resource: inspecting target process memory ranges, threads, thread IDs, and stack backtraces. The per-action breakdown with concrete APIs (Process.enumerateRanges, Thread.backtrace) makes the scope unambiguous. It stops short of naming which sibling tool to use for reading memory contents, but the purpose itself is precise.

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 action list implies when each mode applies (e.g., filter is only for action="ranges", limit only caps ranges) and marks info as the default. However, there is no explicit guidance on when to choose this tool over renef_mem_read or renef_mem_search, and no stated prerequisites such as needing an attached process.

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