Skip to main content
Glama
bitpirate-mcp
by Indigaz

open_1wire

Establishes a 1-Wire connection with pullup enabled, creating or targeting an engagement folder for device probing and analysis.

Instructions

Open a 1-Wire connection and start an engagement. Configures 1-Wire mode with pullup enabled. [allowed-write] [Duration: fast (~0.5-2 s -- mode switch + folder creation).]

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": {
      "engagement_name": "<engagement_name>"
    },
    "name": "open_1wire"
  }
}

Input Schema

NameRequiredDescriptionDefault
current_maNoCurrent limit in mA
voltage_mvNoTarget voltage in mV (optional, enables PSU)
engagement_nameYesTarget device name
engagement_pathNoPath to an engagement folder (from project-mcp). If provided, writes to <engagement_path>/onewire/ instead of creating a standalone engagement.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden. It does disclose useful traits: it writes to disk ([allowed-write]), switches mode with pullup enabled, and runs fast (~0.5-2 s). It omits what happens if a connection is already open, whether state is reset, and any hardware/permission prerequisites.

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?

Two short sentences plus bracketed tags, front-loaded with the core action. The duration tag earns its place; the '[allowed-write]' marker is terse but informative. No filler or repetition.

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 4-parameter connection-opening tool with no output schema, the description should state what the agent gets back (handle, engagement path) and how the connection relates to close_1wire. Those gaps are meaningful, though the mode/pullup and timing disclosures partially compensate.

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?

Schema description coverage is 100%, so the baseline is 3. The description adds no meaning beyond the schema — voltage_mv, current_ma, and the engagement_path fallback are never referenced in prose, and the relationship between enabling a PSU via voltage_mv and this tool is unexplained.

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 verb and resource: 'Open a 1-Wire connection' plus the side effect 'start an engagement' and the mode configuration ('pullup enabled'). The 1-Wire qualifier inherently distinguishes it from open_i2c/open_spi/open_uart siblings, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this versus a different bus opener or when to follow with close_1wire / onewire_search. The schema hints at a choice between standalone engagement and engagement_path, but the description never tells the agent which situation calls for which, nor any prerequisites such as device availability.

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