Skip to main content
Glama

bettbox_set_tun

Enable or disable TUN for the current Bettbox session; if the core lacks elevation, the change is rejected and the error is reported. Changes are not persisted.

Instructions

Enable or disable TUN for the current session only.

Enabling TUN needs the core binary to already hold elevation. Bettbox grants that once (setuid on macOS/Linux, a helper service on Windows); this MCP never handles a password. If elevation is missing the core rejects the change and the tool reports the error.

Args: params (SetTunInput): enable.

Returns: str: Confirmation plus a reminder that the change is not persisted.

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": {
      "params": "<params>"
    },
    "name": "bettbox_set_tun"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), the description discloses the elevation requirement, that Bettbox grants it out-of-band, that the MCP never handles a password, and that failure surfaces as a core rejection. The one meaningful gap is what happens to existing connections/routes when TUN is enabled or disabled.

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 key constraint ('current session only') is front-loaded in the first sentence, and the elevation caveat is placed immediately after as supporting context. The docstring-style Args/Returns block is somewhat boilerplate but compact and skimmable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-boolean toggle, the description covers scope, prerequisite, failure mode, and non-persistence, and an output schema exists so return values need no elaboration. Nothing an agent needs in order to call this correctly appears to be missing.

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

Parameters3/5

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

There is a single parameter and the schema already documents its meaning ('True to enable TUN, False to disable it'), so the description's bare 'Args: params (SetTunInput): enable' adds essentially nothing. With coverage reported near zero and only one trivial boolean, this is the minimum viable level rather than a gap that materially blocks correct invocation.

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 ('Enable or disable') and resource ('TUN') plus a scope qualifier ('for the current session only'), which lets an agent understand exactly what is toggled. It stops short of naming a sibling or contrasting with persistent/mode-level configuration, so differentiation is inferred rather than stated.

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?

Usage is implied by the 'current session only' framing and the elevation prerequisite, which tells the agent when the call is viable. However, there is no explicit when-to-use versus alternatives (e.g. bettbox_set_mode, restart, or a persisted setting), and no guidance on what to do if elevation is absent beyond 'the tool reports the error'.

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