Skip to main content
Glama
renef-mcp
by Ahmeth4n

renef_mem_search

Search a target process's memory for strings, hex byte sequences, or wildcard hex patterns, optionally scoped to a specific library, and return structured match records.

Instructions

Search target process memory for a string, hex byte sequence, or wildcard hex pattern.

Pattern formats:

  • Plain string: "secret", "https://api"

  • Hex bytes: "DEADBEEF" or "FD 7B ?? A9" (?? matches any byte)

Args: pattern: String or hex/wildcard search pattern lib_name: Optional library name to scope the search (e.g., "libnative.so") limit: Maximum matches to return (default: 100)

Returns: JSON object with total hit count and structured match records

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": {
      "pattern": "<pattern>"
    },
    "name": "renef_mem_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
patternYes
lib_nameNo

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?

No annotations exist, so the description bears the full burden. It does disclose the return shape ('JSON object with total hit count and structured match records') and the default limit of 100, but says nothing about read-only nature, performance cost of a full-memory scan, required attach state, or whether results are truncated when limit is hit.

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 one-line purpose, then a compact format section and an args list — every block earns its place. The section headings ('Pattern formats:', 'Args:', 'Returns:') add mild verbosity but aid scanning for an agent.

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?

With an output schema present, the description needn't explain return values, and the parameter semantics are solid. What's missing for a memory-scanning tool with no annotations and no output-schema-independent safety cues is operational context: attach prerequisite, scan cost, and behavior when the limit truncates results.

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 description compensates well: it defines the pattern grammar (plain string, hex bytes, '??' wildcard), explains lib_name scoping with a concrete example ('libnative.so'), and restates the limit's purpose. The only thing carried purely by the schema is the integer type and default.

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 first sentence gives a specific verb and resource ('Search target process memory') plus the accepted pattern kinds, so an agent can distinguish it from renef_mem_read or renef_mem_dump. It never names a sibling to route away from, which keeps it short of 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?

The pattern-format list implies when the tool is useful (string vs hex vs wildcard searches), but there is no explicit when-to-use/when-not guidance and no mention of prerequisites such as needing an attached process. Usage must be inferred from the sibling name set and the description's framing.

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