Skip to main content
Glama

get_streaming_data

Retrieve real-time oscilloscope data for enabled channels to monitor and analyze live signals. Specify maximum sample count to control data volume for signal processing 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() indicating it is registered as an MCP tool. Currently returns a stub 'not_implemented' response.
    @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}
  • The call to register_acquisition_tools(mcp) in the main server file, which registers the get_streaming_data tool among others.
    register_acquisition_tools(mcp)
  • The registration function that defines and registers the get_streaming_data tool using @mcp.tool() decorator inside it.
    def register_acquisition_tools(mcp: Any) -> None: """Register data acquisition tools with the MCP server."""

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