Skip to main content
Glama

rehub_install

Plans or installs SHA-256-verified reverse-engineering tools from official GitHub releases, defaulting to dry-run and requiring explicit authorization to download.

Instructions

按需下载逆向工具(官方 GitHub release,校验 sha256):jadx / apktool / jadx-headless-mcp / rea / ghidra / x64dbg / pe-sieve。默认 dry-run(只报告将下载什么);真正安装需 dryRun:false + authorize:true(安装会引入第三方代码,必须显式授权)。

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": "rehub_install"
  }
}

Input Schema

NameRequiredDescriptionDefault
onlyNo工具 id 列表,如 ["jadx","apktool"];省略=全部
dryRunNotrue(默认)只规划不下载;false 执行安装(需 authorize:true)
authorizeNo显式授权安装/下载第三方工具

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the download source, sha256 verification, the dry-run default, the dual-flag authorization gate, and the reason for it (third-party code introduction). It stops short of saying where tools are installed, whether existing installs are reused, or how partial/failed downloads are reported.

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?

Two tight sentences: the capability and target list come first, then the safety/authorization contract. The parenthetical rationales are short and each clause carries real information; nothing is padding.

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 3-parameter install tool with no output schema and no annotations, the description covers what an agent most needs: what gets downloaded, from where, verification, and the mandatory authorization flow. Gaps remain around install destination, idempotency when a tool already exists, and size/network expectations, which an agent would otherwise have to discover by trial.

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 coverage is 100%, so the schema already documents `only`, `dryRun`, and `authorize`, including the dryRun/authorize coupling. The description's genuine additions are the complete enumeration of valid tool ids mapped to `only` and the reinforcement that omitting it means all — useful, but largely restating structured data, so the baseline 3 is appropriate.

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?

States a specific verb+resource ('按需下载逆向工具') and enumerates exactly which artifacts are covered (jadx / apktool / jadx-headless-mcp / rea / ghidra / x64dbg / pe-sieve), plus the source (official GitHub release). This distinguishes it cleanly from siblings like rehub_exec or rehub_detect, which operate on tools rather than fetching them.

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?

Gives clear operating context: it defaults to dry-run planning, and a real install needs dryRun:false plus authorize:true. What's missing is explicit routing guidance such as when to prefer this over a sibling (e.g., rehub_exec assuming tools already present) or what to do if a tool is already installed.

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