Skip to main content
Glama

Extend data source fabric

extend_data_source_fabric

Add MQTT, WebSocket binary, or MIDI MMC transport to the data source fabric, outputting raw text and numeric channels for bind_to_channel or create_data_visualization.

Instructions

Adds extra transports to the data-source fabric beyond create_data_source: 'mqtt' subscribes to a broker, 'ws-binary' streams binary frames over a WebSocket, 'midi-mmc' listens for MIDI Machine Control transport bytes (play/stop/record/locate). Same downstream shape as create_data_source — a Null DAT for the raw text/bytes and a Null CHOP whose channels are ready for bind_to_channel / create_data_visualization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
transportYesWhich transport branch to build. 'mqtt' subscribes to a broker, 'ws-binary' streams binary frames over a WebSocket, 'midi-mmc' listens for MIDI Machine Control transport bytes.
parent_pathNoCOMP to build the sub-network inside./project1
nameNoBase name for the created sub-network.
hostNo(mqtt/ws-binary) Broker or WebSocket host. Ignored by midi-mmc.127.0.0.1
portNo(mqtt/ws-binary) TCP port. Defaults: mqtt=1883, ws-binary=9001.
topicNo(mqtt) Subscription topic(s), comma-separated. (ws-binary) URL path, e.g. '/stream'.
usernameNo(mqtt) Broker auth user.
passwordNo(mqtt) Broker auth password.
tlsNo(mqtt/ws-binary) Use TLS — flips mqtts:// or wss://.
deviceNo(midi-mmc) MIDI input device name. Omit to use the first device.
frame_formatNo(ws-binary) How each frame's bytes decode into numeric samples.float32-le
channelsNo(ws-binary) Number of numeric channels per frame to expose on the Null CHOP.
fieldsNo(mqtt) JSON keys to extract from each message into the sample table → Null CHOP channels.
expose_controlsNoSurface an 'Active' toggle (and a 'Reconnect' pulse for mqtt/ws-binary).
Behavior4/5

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

Annotations indicate non-destructive and open-ended behavior. The description adds context by explaining that the tool builds a sub-network, produces a Null DAT and Null CHOP, and details how each transport works. This goes beyond the annotations, providing valuable behavioral insight.

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?

The description is concise, consisting of three sentences that front-load the main purpose and key details. It is efficient and avoids unnecessary elaboration, though it could be slightly more structured.

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 complexity of 14 parameters and no output schema, the description adequately covers the high-level behavior, including the output shape (Null DAT and Null CHOP). It could mention more about error states or default behaviors, but it provides sufficient context for an agent.

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?

The input schema has 100% description coverage, so the baseline is 3. The description adds marginal value by summarizing the transport types and the downstream shape, but it largely repeats what the schema already says. No significant new meaning is provided beyond the schema.

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 that the tool adds extra transports to the data-source fabric, listing specific transports (mqtt, ws-binary, midi-mmc) with brief explanations. It distinguishes itself from the sibling tool 'create_data_source' by noting it goes beyond that, making the purpose specific and unambiguous.

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 implies usage for adding specific transports beyond the initial creation, but it does not explicitly state when to use this tool versus alternatives, nor does it provide exclusion criteria or prerequisites. The guidance is implicit and could be improved.

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/Pantani/tdmcp'

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