Skip to main content
Glama
lucasgerads

LeCroy Oscilloscope MCP

by lucasgerads

scope_save_waveform_csv

Save waveform data from a LeCroy oscilloscope as a timestamped CSV file (time_s, voltage_v) for post-processing. Automatically stores in a 'waveforms/' subfolder. Specify channel and optional maximum points.

Instructions

Capture a waveform and save it as a timestamped CSV file ready for post-processing.

Files are always saved to a 'waveforms/' subfolder next to the server with an auto-generated filename, e.g.: waveforms/C1_20260329_153042.csv The full path is returned so you know exactly where the file landed.

The CSV has two columns: time_s and voltage_v. Metadata lines starting with # at the top are ignored by pandas (use comment='#').

Example Python usage: import pandas as pd df = pd.read_csv('waveforms/C1_20260329_153042.csv', comment='#') df.plot(x='time_s', y='voltage_v')

Args: channel: Channel number 1–4 max_points: Maximum samples to save (default 10000).

Transport: SCPI (binary WF? DAT1 transfer + INSPECT? WAVEDESC scaling)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channelYes
max_pointsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries full burden. It discloses file path ('waveforms/' subfolder), auto-generated filename, CSV format, metadata lines, transport protocol (SCPI binary), and return value (full path). Minor omission: no mention of potential overwrite (though timestamps prevent clashes) or acquisition delay.

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?

Description is well-structured, front-loading purpose then file details, CSV format, example, args, and transport. Slightly verbose with transport line, but each part adds value. Could be slightly more concise, but effective.

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?

Given the tool's simplicity and presence of an output schema, the description covers key aspects: purpose, file location, format, example usage, and parameter details. Missing minor context like handling of large data or acquisition state, but sufficient for typical use.

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 description compensates. It explains channel range (1–4) and max_points default (10000) with semantics 'Maximum samples to save'. This adds meaningful context beyond the schema's type and title.

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?

The description clearly states the tool captures a waveform and saves it as a timestamped CSV file for post-processing. It specifies the file location, naming convention, and CSV structure with two columns. This distinguishes it from siblings like scope_get_waveform or scope_store_waveform.

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?

The description does not explicitly compare this tool to siblings or state when to use it vs. alternatives. It implies usage for post-processing (e.g., pandas), but lacks guidance on exclusions or when other tools like scope_get_waveform might be more appropriate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lucasgerads/lecroy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server