Skip to main content
Glama
SLogic16U3 MCP

SLogic16U3 MCP

by gjjisadog

logic_capture

Capture SLogic16U3 input signals over USB with selectable channels, sample rate, software trigger, threshold, and pretrigger settings for waveform analysis.

Instructions

Capture SLogic16U3 input signals using the official USB engine; defaults to CH0/CH1. Select physical channel numbers 0..15. 800 MHz requires ONLY CH0..CH3; 400 MHz requires ONLY CH0..CH7; CH8..CH15 require <=200 MHz on USB3. Windows conservative caps are 400/200/100 MHz. USB2 has further restrictions. At high rates suggest lower-numbered channels, retaining required signal/trigger channels. Never silently drop channels, remap probes, or reduce the requested rate. trigger: none/rising/falling/high/low/edge (software based, not hardware trigger). Trigger channel must be selected. pretrigger_percent is 0..90, threshold 0..6 V in 0.1 V steps. Maximum 32M samples. timeout_ms includes trigger wait and must exceed capture duration. If multiple devices exist, select a port from logic_status. Returns an ID for analysis, exact sample count and data integrity; failures are explicit.

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

Input Schema

NameRequiredDescriptionDefault
deviceNo
triggerNonone
channelsNo
timeout_msNo
duration_msNo
threshold_vNo
sample_rate_hzNo
trigger_channelNo
pretrigger_percentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the software-based trigger nature, per-rate channel restrictions, Windows conservative caps, USB2 limitations, a 32M sample ceiling, and the requirement that timeout_ms exceed capture duration. It omits device-exclusivity/locking behavior and what state the device is left in after a failed or timed-out capture.

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?

Information is front-loaded with the core action first and constraints after, and nearly every clause carries operational weight. Some phrasing is awkward and slightly ambiguous ('At high rates suggest lower-numbered channels' — unclear subject), and the run-on block could be segmented for faster scanning.

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 9-parameter, annotation-free, output-schema-free tool, the description is unusually complete, even summarizing return content ('an ID for analysis, exact sample count and data integrity'). Remaining gaps are device selection semantics for the 'device' parameter and interaction between duration, rate, and the sample ceiling.

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

Parameters4/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 and largely does: it enumerates trigger modes, the 0..15 channel range, trigger_channel selection requirement, pretrigger_percent 0..90, threshold 0..6 V in 0.1 V steps, and timeout_ms semantics. duration_ms and the relationship between sample_rate_hz and the 32M sample cap are left implicit, keeping it below a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource ('Capture SLogic16U3 input signals') plus the default channel set, which distinguishes it immediately from sibling tools like logic_status or logic_decode. An agent knows this is the acquisition entry point.

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 concrete routing guidance ('If multiple devices exist, select a port from logic_status') and states channel/rate selection rules for high-rate captures. It lacks an explicit when-not-to-use statement relative to logic_capabilities or the measurement tools, so it stops short of full alternative routing.

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