Skip to main content
Glama
siglent-sdg-mcp

siglent-sdg-mcp

set_arbitrary_wave

Configure a channel’s arbitrary waveform by choosing a built-in index or specifying a user-defined waveform name or file path.

Instructions

Set the arbitrary waveform for a channel by index number or by name. Use index for built-in waveforms (e.g. 2=StairUp, 18=Sinc, 26=Cardiac) or name for user-defined waveforms.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "channel": "<channel>"
    },
    "name": "set_arbitrary_wave"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName of the waveform for user-defined waves (without quotes). Can also be a path like "Local/wave1.bin"
indexNoIndex of the built-in arbitrary waveform (0-198). Examples: 0=Sine, 2=StairUp, 10=ExpFal, 18=Sinc, 19=Gaussian, 26=Cardiac
channelYesChannel to configure

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.4
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed2 schema fields changedv2.0.2
    • changedInput schema / properties / name / description
      Previous value: -"Name of the waveform (for user-defined waves, use quotes). Can also be a path like \"Local/wave1.bin\""New value: +"Name of the waveform for user-defined waves (without quotes). Can also be a path like \"Local/wave1.bin\""
    • addedInput schema / properties / name / pattern
      Added value: +"^[A-Za-z0-9_\\-./ ]{1,64}$"
  3. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

The readOnlyHint=false annotation already tells the agent this is a mutation. The description adds the useful fact that name accepts a path form like "Local/wave1.bin", but says nothing about overwriting existing waveform data, error behavior on invalid index, or whether the channel must be configured first.

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 tight sentences with the selection rule front-loaded and concrete examples attached to the less obvious parameter. No filler or redundant restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With only channel required, the definition never says what happens if both index and name are supplied, or if neither is. For a mutation tool with no output schema, that ambiguity and the absence of prerequisite information leave a meaningful gap.

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%, so both optional parameters are already documented with examples and ranges. The description's index-vs-name rule largely restates the schema's own parameter descriptions, adding little beyond them, 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?

The description gives a specific verb+resource ("Set the arbitrary waveform for a channel") and clarifies the two addressing modes. It implicitly distinguishes itself from the read-side sibling get_arbitrary_wave but never names it, so differentiation is by name contrast only.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit selection guidance between the two parameter paths: index for built-in waves, name for user-defined waves. It stops short of saying when to prefer this tool over configure_basic_wave or what preconditions (option installed, channel enabled) must hold.

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