Skip to main content
Glama

mumu_kmod_load

Loads an out-of-tree kernel module that rewrites init_uts_ns.name, making every process see a fake uname(2) result system-wide without per-process tracing or syscall-table patching.

Instructions

Load the out-of-tree module that rewrites init_uts_ns.name.

This is the real fix for uname(2), and it is system-wide: the module edits the single struct every uname call copies from, so every process sees the fake with no per-process tracer and no performance cost.

It works where the syscall-table approach could not, for a reason the 6.1.90 source states outright: sys_call_table[] is no longer used for dispatch (x64_sys_call() is a switch), and init_uts_ns is exported and lives in writable data — so no code is patched and set_memory_rw is never called.

rebuild re-pushes the .ko even when the device copy exists.

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

Input Schema

NameRequiredDescriptionDefault
rebuildNo
vmindexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full load. It does disclose meaningful behavior – system-wide effect via the shared init_uts_ns struct, no per-process tracer, no code patching, and that 'rebuild' re-pushes the .ko even when a device copy exists – which is genuinely useful context not available in structured fields. But for a kernel module load it omits critical operational facts: required privileges, behavior when the module is already loaded, failure modes, and whether the operation is reversible (which the presence of mumu_kmod_unload implies but is never stated).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded in the first sentence, which is good structure. The middle paragraph's digression into x64_sys_call() dispatch and set_memory_rw helps justify the approach but is largely educational rather than actionable for selecting or invoking the tool, and the 'rebuild' note would be better placed alongside the parameter it describes.

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?

For a privileged, system-wide mutation with no annotations and no output schema, the description does a reasonable job on mechanism and side effects. It falls short on prerequisites, error behavior, the undocumented vmindex parameter, and any indication of what a successful or failed load looks like.

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?

Schema description coverage is 0%, so the description must compensate for both parameters. It explains 'rebuild' well ('re-pushes the .ko even when the device copy exists'), but 'vmindex' is never mentioned at all, leaving an agent to guess which emulator instance the module loads into.

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 – 'Load the out-of-tree module that rewrites init_uts_ns.name' – which is far more concrete than the tool name alone. It does not explicitly distinguish itself from the close siblings mumu_kmod_status and mumu_kmod_unload, so an agent must infer that this is the install step versus status/unload.

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?

It frames usage indirectly by calling itself 'the real fix for uname(2)' and contrasting with 'the syscall-table approach', which tells an agent why to prefer it. However, it never states when to call this versus mumu_kmod_status or mumu_kmod_unload, nor any prerequisite such as root access, an attached device, or a built .ko.

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

Deploy Server

Other Tools