Skip to main content
Glama

get_streaming_data

Retrieve real-time streaming data from PicoScope oscilloscopes to capture and analyze live signals for measurement and monitoring applications.

Instructions

Get latest streaming data.

Args: max_samples: Maximum number of samples to retrieve.

Returns: Dictionary containing latest streaming data for enabled channels.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_samplesNo

Implementation Reference

  • The handler function for the 'get_streaming_data' tool. It is decorated with @mcp.tool(), which registers it with the MCP server. Currently implemented as a stub returning 'not_implemented' status.
    @mcp.tool() def get_streaming_data(max_samples: int = 1000) -> dict[str, Any]: """Get latest streaming data. Args: max_samples: Maximum number of samples to retrieve. Returns: Dictionary containing latest streaming data for enabled channels. """ # TODO: Implement streaming data retrieval return {"status": "not_implemented", "max_samples": max_samples}
  • Registration of tool groups in the main server.py file. The call to register_acquisition_tools(mcp) triggers the definition and registration of the get_streaming_data tool.
    register_configuration_tools(mcp) register_acquisition_tools(mcp) register_analysis_tools(mcp) register_advanced_tools(mcp)

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/markuskreitzer/picoscope_mcp'

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