Skip to main content
Glama
renef-mcp
by Ahmeth4n

renef_os

Run OS-level helpers inside a target process to get its PID, list directory entries, or send POSIX signals to a process or thread for Android instrumentation and reverse engineering.

Instructions

OS-level helpers executed inside the target process (OS.* API).

Actions:

  • getpid: Get the target process's PID (OS.getpid())

  • listdir: List non-dot entries of a directory on device (OS.listdir(path))

  • kill: Send a POSIX signal to a PID (OS.kill(pid, signal))

  • tgkill: Send a POSIX signal to a specific thread (OS.tgkill(pid, tid, signal))

Args: action: "getpid", "listdir", "kill", or "tgkill" path: Directory path on device (required for "listdir", e.g., "/proc/self/task") pid: Target process/thread-group ID (required for "kill" and "tgkill") tid: Target thread ID (required for "tgkill") signal: POSIX signal number (required for "kill" and "tgkill", e.g., 9, 15, 19)

Returns: JSON object with operation result

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": {
      "action": "<action>"
    },
    "name": "renef_os"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidNo
tidNo
pathNo
actionYes
signalNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/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 and does disclose meaningful behavior: code runs in-process in the target, and kill/tgkill deliver POSIX signals (with example signal numbers 9, 15, 19). It stops short of stating that signalling is destructive/irreversible, that it can terminate the target process, or that an attached session is required; the return value is only described as 'JSON object with operation result'.

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 with the one-line purpose, then a scannable action list and required-argument mapping; nothing is padded prose. There is minor duplication between the 'Args' block and the per-action 'required for' notes, plus a near-empty 'Returns' line, but overall it is tight and well organized.

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 tool that can send arbitrary POSIX signals to a target process with zero annotation coverage, the description should flag destructive potential and session/attach prerequisites; those are absent, and the 'Returns' note adds nothing beyond the existing output schema. It is otherwise complete enough to invoke correctly, given it fully maps actions to required arguments.

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% and the schema defines 'action' as a bare string with no enum, so the description must compensate — and it does, listing the four legal action values, tying path/pid/tid/signal to specific actions, and giving examples ("/proc/self/task", signal 9/15/19). It does not explain the meaning of the schema defaults (pid=0, tid=0, signal=0) for unused parameters, leaving a small gap.

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 names a concrete verb+resource ('OS-level helpers executed inside the target process') and enumerates four discrete actions with their exact underlying API calls (`OS.getpid()`, `OS.listdir(path)`, `OS.kill(pid, signal)`, `OS.tgkill(pid, tid, signal)`). An agent can tell this apart from siblings such as renef_file or renef_exec without opening the schema.

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?

Per-action argument requirements ('required for "listdir"', 'required for "kill" and "tgkill"') give clear operational context for each action. However, there is no guidance on when to pick this tool over siblings that overlap (directory listing versus renef_file, signalling versus renef_command), and no exclusions or prerequisites such as needing an attached session.

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