Skip to main content
Glama

mumu_uname_selftest

Validates the syscall rewrite by running a bundled uname target in its own thread and reporting before/after strings, avoiding false negatives from shell forks.

Instructions

Prove the syscall rewrite works, with a built-in target that calls uname itself.

Worth running before trusting the patch on a real app. Testing with uname from a shell gives a false negative: the shell forks, so the syscall happens in a child the tracer never attached to. The bundled target calls it in its own thread, and this reports the observable before/after strings.

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_uname_selftest"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmindexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the mechanism (bundled target calls uname in its own thread) and the output shape (before/after strings). It omits side effects, whether any state is written, permissions required, and runtime cost, leaving meaningful gaps for an unannotated tool.

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?

Purpose is front-loaded in the first sentence, and the false-negative explanation earns its space by justifying why this tool exists. It is slightly long for what it conveys but has no filler sentences.

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 mechanism and output are adequately explained for a self-test tool, but with no annotations, no output schema, and an undocumented parameter, an agent still lacks details on invocation semantics and observable effects.

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?

One parameter (vmindex) exists with 0% schema description coverage, and the description says nothing about what it selects or what the default 0 means. The description does not compensate for the documentation gap.

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?

States a specific action and resource: runs a bundled target that calls uname itself to prove the syscall rewrite works. This is distinguishable from verify/patch siblings by its self-contained test-target nature, though it never names those siblings explicitly.

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 usage context ('Worth running before trusting the patch on a real app') and an explicit negative case for the manual approach (shell uname forks, causing a false negative). It stops short of routing the agent between this and named sibling tools such as mumu_uname_verify.

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