Skip to main content
Glama
renef-mcp
by Ahmeth4n

renef_command

Send raw commands to renef_server over framed TCP, enabling native hooking, memory inspection, and sessionless operations like ping or memdump for Android ARM64 reverse engineering.

Instructions

Send a raw command directly to renef_server over the framed TCP transport.

Works both with an active target session (e.g., hooks, sec libc.so, md 0x... 64) and for sessionless server commands (e.g., ping, la, memdump <pid> --maps).

Args: command: Raw renef_server command string timeout: Reply timeout in seconds (default: 35.0)

Returns: Raw text response 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": {
      "command": "<command>"
    },
    "name": "renef_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandYes
timeoutNo

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 present, the description carries the full burden. It does disclose the transport (framed TCP), the timeout default, and that the reply is raw text, which is real behavioral context. However, it says nothing about side effects (raw commands may mutate target state), error/timeout failure behavior, or whether the connection is stateful.

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 core action, then structured into Args and Returns blocks with no filler. The pieces that repeat schema defaults are harmless rather than wasteful, though the Returns block is partly redundant with the output schema.

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 raw escape-hatch tool with an output schema, this covers transport, both invocation modes, parameters, and return shape. It falls short only on risk disclosure — no warning that arbitrary commands can change or damage target state, which matters for a tool this unconstrained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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. It adds meaning for both parameters: `command` is described as a raw renef_server command string with examples of its syntax, and `timeout` is described as the reply timeout in seconds with a default of 35.0. That is useful but stops at the surface; it does not explain non-default timeout tradeoffs.

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: send a raw command string to renef_server over the framed TCP transport. The two example categories (session-bound inspection commands vs. sessionless server commands) make the scope concrete. It stops short of explicitly positioning itself against the many typed siblings (e.g., renef_ping, renef_mem_read), which is why it is not 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 Guidelines3/5

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

Usage is conveyed by example rather than rule: it shows a session-required command (`hooks`, `md 0x... 64`) and a sessionless one (`ping`, `la`), which implies when each mode applies. There is no explicit when-to-use / when-not-to-use guidance and no routing to a dedicated sibling tool when one exists.

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