Skip to main content
Glama

rpc_export

Register a Python-side RPC export for Frida scripts to call, enabling communication between script and host.

Instructions

Register a stub Python-side RPC export the script side can call.

The function is a reflective shim that returns None; the analyst wires the real Python callable by calling re_frida.runner.rpc_export(session, name, fn) from a follow-up script. The MCP layer intentionally avoids taking a Python callable as a JSON argument (which the MCP protocol can't transport).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionYes
nameYes
Behavior4/5

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

The description discloses that the function returns None, is a reflective shim, and explains why it cannot accept a Python callable due to protocol limitations. This adds behavioral context beyond the absence of annotations.

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?

The description is brief with two sentences and a code example, efficiently conveying the core behavior. It is well-structured and front-loaded with the primary purpose.

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?

Given the tool's specialized nature and lack of output schema, the description covers the overall process but lacks detail on parameter semantics and return values (returns None). It provides adequate context for the intended use case but leaves gaps.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description must compensate, but it only mentions 'session' and 'name' in passing without detailing their meaning, format, or constraints. For example, it does not specify what constitutes a valid session string or naming conventions.

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 description clearly states that the tool registers a stub RPC export that the script side can call. It distinguishes itself from taking a Python callable directly, which aligns with its unique purpose among sibling tools. However, it does not explicitly differentiate from other registration-like tools.

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 description explains that the tool is a reflective shim and implies usage via the follow-up wiring step. It does not provide explicit when-to-use or when-not-to-use guidance, nor alternatives, leaving the agent to infer the intended context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Heretek-RE/re-frida'

If you have feedback or need assistance with the MCP directory API, please join our Discord server