Skip to main content
Glama
1shin-7
by 1shin-7

frida_inject_library_blob

Inject a native library from base64-encoded binary into a target process by PID, invoking a specified entrypoint with a string argument. Optionally select a device.

Instructions

Inject a native library from memory (base64-encoded binary) into a process.

Args: pid: Target process PID. blob_base64: Base64-encoded library binary. entrypoint: Name of the entry function in the library. data: String argument passed to the entrypoint. device_id: Target device. Uses default if omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pidYes
dataYes
device_idNo
entrypointYes
blob_base64Yes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only says 'Inject' without mentioning side effects, prerequisites, or potential risks. There is no information about whether the injection is reversible, what happens on failure, or if it requires an active session. This is a significant gap for a tool that modifies a running process.

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?

The description is concise and well-structured: a one-sentence purpose followed by a clear bulleted list of arguments. Every line adds value with no redundant information.

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?

The description covers the purpose and all parameters, and an output schema exists, so return-value details are not required. However, it lacks critical context about the execution environment (e.g., whether the process must be attached first) and the behavioral consequences of injection. For a tool of this complexity and risk, some additional context is warranted.

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

Parameters5/5

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

The schema has no parameter descriptions (0% coverage), but the description compensates fully by explaining each parameter: pid, blob_base64, entrypoint, data, and device_id, including the default behavior for device_id. This adds meaningful semantics beyond the bare schema.

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 clearly states a specific action: 'Inject a native library from memory (base64-encoded binary) into a process.' This distinguishes it from the sibling tool frida_inject_library_file by explicitly noting the 'from memory' mechanism, making the purpose clear and distinct.

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?

The description implies usage through the phrase 'from memory (base64-encoded binary)', which signals when to use this tool over frida_inject_library_file. However, it does not explicitly name alternatives or state exclusions. The context is clear but not fully explicit.

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/1shin-7/ya-frida-mcp'

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