Skip to main content
Glama
siglent-sds-mcp

siglent-sds-mcp

connect

Open a TCP connection to a Siglent oscilloscope on an allowed host and return device identification, enabling AI assistants to begin SCPI measurements and configuration.

Instructions

Connect to a Siglent oscilloscope over TCP. Returns device identification on success. Only the configured oscilloscope (SIGLENT_IP), hosts in SIGLENT_ALLOWED_HOSTS, or, if neither is set, private-LAN IP addresses are accepted, on the instrument port.

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

Input Schema

NameRequiredDescriptionDefault
hostNoIP address of the oscilloscope (defaults to SIGLENT_IP)
portNoTCP port (defaults to SIGLENT_PORT or 5025)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv2.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / host / description
      Previous value: -"IP address of the oscilloscope (defaults to SIGLENT_IP env var)"New value: +"IP address of the oscilloscope (defaults to SIGLENT_IP)"
    • addedInput schema / properties / host / maxLength
      Added value: +253
    • changedInput schema / properties / port / description
      Previous value: -"TCP port (defaults to 5025)"New value: +"TCP port (defaults to SIGLENT_PORT or 5025)"
    • addedInput schema / properties / port / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / port / minimum
      Added value: +-9007199254740991
    • changedInput schema / properties / port / type
      Previous value: -"number"New value: +"integer"
  2. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already flag this as a non-read-only, open-world operation, and the description usefully adds the host-allowlist security constraint and the success return value, which are not in the structured fields. It stops short of disclosing failure behavior, timeouts, or whether an existing connection is replaced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero waste, with the action and its return value front-loaded and the security scoping constraint placed second where it belongs. Every clause carries information an agent needs.

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 two-parameter connection tool with no output schema, the definition covers action, defaults, allowlist constraints, and the success signal. Error/timeout behavior and behavior when already connected are the notable omissions given connectivity is the entire purpose.

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?

Schema coverage is 100%, and both parameters already document their defaults (SIGLENT_IP, SIGLENT_PORT or 5025) in the schema. The description adds no syntax or format meaning beyond what the schema already supplies, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource ("Connect to a Siglent oscilloscope over TCP") plus the success outcome (device identification returned). It clearly differs from siblings like disconnect or get_waveform, but never differentiates itself from the closely related identify tool, which the return-value sentence arguably overlaps with.

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?

Provides real usage context by stating which hosts are accepted (configured SIGLENT_IP, SIGLENT_ALLOWED_HOSTS, or private-LAN IPs) and on which port, which is effectively a precondition for calling. However, it gives no guidance on relationship to siblings such as identify or disconnect, nor what to do if the connection fails or is already open.

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