Skip to main content
Glama
bitpirate-mcp
by Indigaz

verify_connection

Check for signal activity on specified ESP32 GPIO pins by providing TX/RX pin mapping and optional sample duration. Confirms whether a connection is active before probing.

Instructions

Check for signal activity on specified pins. User must provide pin mapping. [read-only] [Duration: fast (~2 s -- samples for sample_duration_ms, default 2000).]

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": {
      "tx_pin": "<tx_pin>",
      "rx_pin": "<rx_pin>"
    },
    "name": "verify_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
rx_pinYesESP32 GPIO for RX (e.g., 5)
tx_pinYesESP32 GPIO for TX (e.g., 4)
sample_duration_msNoHow long to sample for activity (ms)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose key traits: it is read-only and it blocks for roughly the sample duration (~2 s by default). What is missing is what the result means — whether a boolean activity flag or per-pin counts are returned, and whether the target must be powered/transmitting.

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 metadata, front-loaded with the action. The bracketed timing note is slightly awkward but earns its place by conveying latency; nothing is redundant.

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

Completeness4/5

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

For a three-parameter, no-output-schema diagnostic, the definition covers purpose, prerequisite, read-only status and expected duration adequately. The remaining gap is the interpretation of results and any precondition about the device being active during sampling.

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 parameters are already documented; the description only adds that the pins constitute a 'pin mapping' requirement and ties sample_duration_ms to the ~2 s runtime. That is marginal added meaning beyond the schema baseline.

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 description gives a specific verb and resource: checking for signal activity on specified TX/RX pins. It is unambiguous what the tool does, though it does not name a sibling or state how it differs from the protocol-specific tools (spi_probe, i2c_scan, etc.) that also probe hardware.

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?

'User must provide pin mapping' states a prerequisite but not a usage context. It does not say when to call this instead of a bus open/probe tool, nor whether it is a pre-flight check before open_uart/open_spi or a standalone diagnostic.

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